改版
This commit is contained in:
@@ -27,8 +27,11 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function boot()
|
||||
{
|
||||
$table = config('admin.extensions.config.table', 'admin_config');
|
||||
if (Schema::hasTable($table)) {
|
||||
Config::load();
|
||||
if (! $this->app->runningInConsole()) {
|
||||
if (Schema::hasTable($table)) {
|
||||
Config::load();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user