mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-08 10:39:27 +01:00
fix namespace
This commit is contained in:
parent
7f74afcd6f
commit
1480f0e602
@ -76,7 +76,7 @@ class PluginService
|
||||
// Autoload src directory
|
||||
$namespace = $plugin->namespace . '\\';
|
||||
if (!array_key_exists($namespace, $classLoader->getPrefixesPsr4())) {
|
||||
$classLoader->setPsr4($namespace . '\\', plugin_path($plugin->id, 'src/'));
|
||||
$classLoader->setPsr4($namespace, plugin_path($plugin->id, 'src/'));
|
||||
}
|
||||
|
||||
// Register service providers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user