Bootstrap modules at last
We initialize modules before we set up the user backend and other singletons. But modules may access those in order to check the permissions of the authenticated user for example. With this fix, modules are loaded once all other bootstrap tasks have been completed. refs #3470
This commit is contained in:
parent
c633c86db7
commit
0433dc4166
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue