mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Fix controller identifier 2
This commit is contained in:
parent
d045ec5411
commit
487e43d637
|
|
@ -185,7 +185,7 @@ class Dispatcher
|
|||
}
|
||||
|
||||
// If module controller use module manager for initialization
|
||||
if(strpos('\Modules', $controller) === 0) {
|
||||
if(strpos('\Modules\Controller', $controller) === 0) {
|
||||
$this->controllers[$controller] = $this->app->moduleManager->get($split[2]);
|
||||
} else {
|
||||
$this->controllers[$controller] = new $controller($this->app);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user