From 94cddce30616cb9056e30b2180e4dfbecc7da7e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 02:26:52 +0200 Subject: [PATCH] Need to set namespace + in config entries (some) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../command/console/class_HubConsoleCommandResolver.php | 3 ++- .../resolver/command/html/class_HubHtmlCommandResolver.php | 3 ++- application/hub/config.php | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/application/hub/classes/resolver/command/console/class_HubConsoleCommandResolver.php b/application/hub/classes/resolver/command/console/class_HubConsoleCommandResolver.php index ed41bdd21..aa26c2764 100644 --- a/application/hub/classes/resolver/command/console/class_HubConsoleCommandResolver.php +++ b/application/hub/classes/resolver/command/console/class_HubConsoleCommandResolver.php @@ -65,7 +65,8 @@ class HubConsoleCommandResolver extends BaseCommandResolver implements CommandRe throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND); } - // Set the application instance + // Set namespace and application instance + $resolverInstance->setNamespace('Hub\Command'); $resolverInstance->setApplicationInstance($applicationInstance); // Return the prepared instance diff --git a/application/hub/classes/resolver/command/html/class_HubHtmlCommandResolver.php b/application/hub/classes/resolver/command/html/class_HubHtmlCommandResolver.php index cc8819009..a71ad087d 100644 --- a/application/hub/classes/resolver/command/html/class_HubHtmlCommandResolver.php +++ b/application/hub/classes/resolver/command/html/class_HubHtmlCommandResolver.php @@ -65,7 +65,8 @@ class HubHtmlCommandResolver extends BaseCommandResolver implements CommandResol throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND); } - // Set the application instance + // Set namespace and application instance + $resolverInstance->setNamespace('Hub\Command'); $resolverInstance->setApplicationInstance($applicationInstance); // Return the prepared instance diff --git a/application/hub/config.php b/application/hub/config.php index b20eeca15..e9e2c94b6 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -160,10 +160,10 @@ $cfg->setConfigEntry('hub_console_cmd_main_resolver_class', 'Hub\Resolver\Comman $cfg->setConfigEntry('network_state_resolver_class', 'NetworkStateResolver'); // CFG: NEWS-DOWNLOAD-FILTER -$cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter'); +$cfg->setConfigEntry('news_download_filter', 'CoreFramework\Filter\News\NewsDownloadFilter'); // CFG: NEWS-PROCESS-FILTER -$cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter'); +$cfg->setConfigEntry('news_process_filter', 'CoreFramework\Filter\News\NewsProcessFilter'); // CFG: NODE-PHP-REQUIREMENTS-FILTER $cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter'); -- 2.39.5