From: Roland Haeder Date: Mon, 6 Apr 2015 22:44:02 +0000 (+0200) Subject: Don't look for commands in controller resolvers as this confuses the code (maybe). X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=6e0bbff032ed18a567b6fdce369a92db76e22e3c Don't look for commands in controller resolvers as this confuses the code (maybe). Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/resolver/controller/class_BaseControllerResolver.php b/inc/classes/main/resolver/controller/class_BaseControllerResolver.php index b9ae868f..05a1c119 100644 --- a/inc/classes/main/resolver/controller/class_BaseControllerResolver.php +++ b/inc/classes/main/resolver/controller/class_BaseControllerResolver.php @@ -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;