Don't look for commands in controller resolvers as this confuses the code (maybe).
[core.git] / 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;