Don't look for commands in controller resolvers as this confuses the code (maybe).
authorRoland Haeder <roland@mxchange.org>
Mon, 6 Apr 2015 22:44:02 +0000 (00:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 6 Apr 2015 22:44:02 +0000 (00:44 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/resolver/controller/class_BaseControllerResolver.php

index b9ae868f6fe732367fb1ceb1239427a3924bd3c2..05a1c119eb84cb0803bbf8cad5ac0f4d9c94c54b 100644 (file)
@@ -45,7 +45,7 @@ class BaseControllerResolver extends BaseResolver {
         */
        protected function loadController ($controllerName) {
                // Cache default command
-               $defaultController = $this->getConfigInstance()->getConfigEntry('default_' . strtolower($this->getClassPrefix()) . '_command');
+               $defaultController = $this->getConfigInstance()->getConfigEntry('default_' . strtolower($this->getClassPrefix()) . '_controller');
 
                // Init controller instance
                $controllerInstance = NULL;