From 487e43d6378c9f94430ff7806cc02220f3284ce7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 17 Feb 2017 21:48:57 +0100 Subject: [PATCH] Fix controller identifier 2 --- Dispatcher/Dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dispatcher/Dispatcher.php b/Dispatcher/Dispatcher.php index d82dc1cfb..d54dd3c97 100644 --- a/Dispatcher/Dispatcher.php +++ b/Dispatcher/Dispatcher.php @@ -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);