This commit is contained in:
2021-12-01 13:34:38 +08:00
parent 52f73b3bc3
commit dffa07e4eb
22 changed files with 701 additions and 109 deletions

View File

@@ -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();
}
}
}
}