From: Roland Häder Date: Thu, 18 May 2017 23:25:15 +0000 (+0200) Subject: Well, sad. Cannot "deeper-namespace" and need to call setNameSpace() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=59468cb25121be276f40b482ffd1d863736b2e79;p=hub.git Well, sad. Cannot "deeper-namespace" and need to call setNameSpace() Signed-off-by: Roland Häder --- diff --git a/application/hub/classes/controller/console/class_HubConsoleAptProxyController.php b/application/hub/classes/controller/console/class_HubConsoleAptProxyController.php index bc048de01..00a0496e6 100644 --- a/application/hub/classes/controller/console/class_HubConsoleAptProxyController.php +++ b/application/hub/classes/controller/console/class_HubConsoleAptProxyController.php @@ -1,6 +1,6 @@ setApplicationInstance($applicationInstance); - // Set command name + // Set namespace and command name + $resolverInstance->setNamespace('Hub\Controller'); $resolverInstance->setControllerName($controllerName); // Return the prepared instance diff --git a/application/hub/classes/resolver/controller/html/class_HubHtmlControllerResolver.php b/application/hub/classes/resolver/controller/html/class_HubHtmlControllerResolver.php index e447fd517..5a4795746 100644 --- a/application/hub/classes/resolver/controller/html/class_HubHtmlControllerResolver.php +++ b/application/hub/classes/resolver/controller/html/class_HubHtmlControllerResolver.php @@ -69,7 +69,8 @@ class HubHtmlControllerResolver extends BaseControllerResolver implements Contro // Set the application instance $resolverInstance->setApplicationInstance($applicationInstance); - // Set command name + // Set namespace and command name + $resolverInstance->setNamespace('Hub\Controller'); $resolverInstance->setControllerName($controllerName); // Return the prepared instance