修复关闭插件无法打开编辑
This commit is contained in:
parent
7947596b8b
commit
a07d38a6b0
|
|
@ -46,17 +46,16 @@ class PluginServiceProvider extends ServiceProvider
|
|||
$this->pluginBasePath = base_path('plugins');
|
||||
|
||||
foreach ($plugins as $plugin) {
|
||||
$pluginCode = $plugin->getDirname();
|
||||
$this->bootPlugin($plugin);
|
||||
$this->loadMigrations($pluginCode);
|
||||
$this->loadRoutes($pluginCode);
|
||||
$this->loadTranslations($pluginCode);
|
||||
}
|
||||
|
||||
$allPlugins = $manager->getPlugins();
|
||||
foreach ($allPlugins as $plugin) {
|
||||
$pluginCode = $plugin->getDirname();
|
||||
$this->loadMigrations($pluginCode);
|
||||
$this->loadRoutes($pluginCode);
|
||||
$this->loadViews($pluginCode);
|
||||
$this->loadTranslations($pluginCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue