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 b9ae868..05a1c11 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;