From 59468cb25121be276f40b482ffd1d863736b2e79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 01:25:15 +0200 Subject: [PATCH] Well, sad. Cannot "deeper-namespace" and need to call setNameSpace() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../controller/console/class_HubConsoleAptProxyController.php | 2 +- .../controller/console/class_HubConsoleChatController.php | 2 +- .../controller/console/class_HubConsoleCrawlerController.php | 2 +- .../controller/console/class_HubConsoleCruncherController.php | 2 +- .../console/class_HubConsoleDefaultNewsController.php | 2 +- .../controller/console/class_HubConsoleFuseController.php | 2 +- .../controller/console/class_HubConsoleMinerController.php | 2 +- .../controller/console/class_HubConsoleControllerResolver.php | 3 ++- .../controller/html/class_HubHtmlControllerResolver.php | 3 ++- 9 files changed, 11 insertions(+), 9 deletions(-) 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 -- 2.39.5