*/
private function loadController ($controllerName) {
// Cache default command
- $defaultController = $this->getConfigInstance()->readConfig('default_web_command');
+ $defaultController = $this->getConfigInstance()->readConfig('default_console_command');
// Init controller instance
$controllerInstance = null;
// Try to read a config entry for our resolver including controller name... ;-)
try {
// Create the resolver name
- $resolverConfigEntry = sprintf("web_cmd_%s_resolver_class", strtolower($controllerName));
+ $resolverConfigEntry = sprintf("console_cmd_%s_resolver_class", strtolower($controllerName));
// Get the config, this will throw an exception if there is no special command resolver
$resolverClass = $this->getConfigInstance()->readConfig($resolverConfigEntry);
} catch (ConfigEntryNotFoundException $e) {
// Use default resolver entry
// @TODO Maybe we need to log this?
- $resolverConfigEntry = 'web_cmd_resolver_class';
+ $resolverConfigEntry = 'console_cmd_resolver_class';
}
// Initiate the resolver and controller