Signed-off-by: Roland Häder <roland@mxchange.org>
// Enable HTML templates by default
enableTemplateHtml();
+ // Init stats system
+ initStatsSystem();
+
+ // Init HTTP handling
+ initHttp();
+
// Are we in installation phase?
if ((!isInstaller()) && (isInstalled())) {
// Regular bootstrap
doInstallerBootstrap();
}
- // Init stats system
- initStatsSystem();
-
- // Init HTTP handling
- initHttp();
-
- // Init stats system
- initStatsSystem();
-
// Handle fatal errors
runFilterChain('handle_fatal_errors');
}