]> git.mxchange.org Git - install.git/commitdiff
Global fix for generating right class name for controller resolver (to make that...
authorRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:41:53 +0000 (21:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:41:53 +0000 (21:41 +0000)
application/install/class_ApplicationHelper.php

index eead48f5be88dca93746da5bca8de8d581666b6f..d7beed4d0c448ca9b54e565e0fdc85404e594430 100644 (file)
@@ -211,8 +211,8 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                        $requestInstance->setRequestElement('page', $commandName);
                } // END - if
 
-               // Get a resolver
-               $resolverClass = sprintf("%sControllerResolver", $this->convertToClassName($responseType));
+               // Get a controller resolver
+               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well