From 029630308dceb8ed3b7889482f5fe0f53226981d Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 14 Nov 2014 14:07:13 +0100 Subject: [PATCH] Load Zend on Web and EmbeddedWeb refs #7464 --- library/Icinga/Application/EmbeddedWeb.php | 4 +++- library/Icinga/Application/Web.php | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Application/EmbeddedWeb.php b/library/Icinga/Application/EmbeddedWeb.php index 0dd8b5d5c..7ba2ba73e 100644 --- a/library/Icinga/Application/EmbeddedWeb.php +++ b/library/Icinga/Application/EmbeddedWeb.php @@ -27,7 +27,9 @@ class EmbeddedWeb extends ApplicationBootstrap */ protected function bootstrap() { - return $this->loadConfig() + return $this + ->setupZendAutoloader() + ->loadConfig() ->setupErrorHandling() ->setupTimezone() ->setupModuleManager() diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index b793fd68a..f227df247 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -90,6 +90,7 @@ class Web extends ApplicationBootstrap protected function bootstrap() { return $this + ->setupZendAutoloader() ->setupLogging() ->setupErrorHandling() ->loadConfig()