[icinga-checkins] icinga.org: icingaweb2/feature/setup-wizard-7163: Load core modules also when bootstrapping the CLI

git at icinga.org git at icinga.org
Tue Nov 11 10:19:53 CET 2014


Module: icingaweb2
Branch: feature/setup-wizard-7163
Commit: f12473d34bf55b2acea2a196d5455ad851dbf86b
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=f12473d34bf55b2acea2a196d5455ad851dbf86b

Author: Johannes Meyer <johannes.meyer at netways.de>
Date:   Tue Nov 11 10:00:28 2014 +0100

Load core modules also when bootstrapping the CLI

refs #7163

---

 library/Icinga/Application/Cli.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/Icinga/Application/Cli.php b/library/Icinga/Application/Cli.php
index 740623d..c6e6490 100644
--- a/library/Icinga/Application/Cli.php
+++ b/library/Icinga/Application/Cli.php
@@ -43,7 +43,8 @@ class Cli extends ApplicationBootstrap
             ->parseBasicParams()
             ->setupLogger()
             ->setupResourceFactory()
-            ->setupModuleManager();
+            ->setupModuleManager()
+            ->loadCoreModules();
     }
 
     protected function setupLogging()



More information about the icinga-checkins mailing list