diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index 0b3f3f8b8..d299832d1 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -89,9 +89,6 @@ class Web extends EmbeddedWeb ->setupNotifications() ->setupResponse() ->setupZendMvc() - ->setupModuleManager() - ->loadSetupModuleIfNecessary() - ->loadEnabledModules() ->setupRoute() ->setupPagination() ->setupUserBackendFactory() @@ -99,7 +96,10 @@ class Web extends EmbeddedWeb ->setupTimezone() ->setupLogger() ->setupInternationalization() - ->setupFatalErrorHandling(); + ->setupFatalErrorHandling() + ->setupModuleManager() + ->loadSetupModuleIfNecessary() + ->loadEnabledModules(); } /**