From: Roland Häder Date: Thu, 20 Dec 2012 21:41:41 +0000 (+0000) Subject: Global fix for generating right class name for controller resolver (to make that... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28e0e79b560eaf5ccab5cf287170c5ea14643d2e;p=hub.git Global fix for generating right class name for controller resolver (to make that code part more generic and later move out to 'core' project as a new class/method) --- diff --git a/application/hub/class_ApplicationHelper.php b/application/hub/class_ApplicationHelper.php index 34c421ee9..6c1f8858b 100644 --- a/application/hub/class_ApplicationHelper.php +++ b/application/hub/class_ApplicationHelper.php @@ -194,8 +194,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica $requestInstance->setRequestElement('command', $commandName); } // END - if - // Get a resolver - $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $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