]> git.mxchange.org Git - admin.git/blobdiff - application/admin/class_ApplicationHelper.php
Global fix for generating right class name for controller resolver (to make that...
[admin.git] / application / admin / class_ApplicationHelper.php
index b949d7eee45d55e17d638146227c0ae93353bb9f..b20f493611b2708645268d8fc56193e397626db9 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