mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-30 14:09:58 +08:00
fix loading namespace of disabled plugins
This commit is contained in:
parent
77af4d2f95
commit
4c8d390d47
@ -22,7 +22,7 @@ class PluginServiceProvider extends ServiceProvider
|
||||
// make view instead of view.finder since the finder is defined as not a singleton
|
||||
$finder = $this->app->make('view');
|
||||
|
||||
foreach ($plugins->getPlugins() as $plugin) {
|
||||
foreach ($plugins->getEnabledPlugins() as $plugin) {
|
||||
$src_paths[$plugin->getNameSpace()] = $plugin->getPath()."/src";
|
||||
// add paths of translation files for namespace hints
|
||||
$loader->addNamespace($plugin->getNameSpace(), $plugin->getPath()."/lang");
|
||||
|
Loading…
Reference in New Issue
Block a user