Possible fix for array_push() message
authorRoland Häder <roland@mxchange.org>
Wed, 20 Jul 2016 07:47:52 +0000 (09:47 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 20 Jul 2016 07:47:52 +0000 (09:47 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/general-functions.php

index acdec10b659b5a5392d8259c5b07f823639db753..1fba1265d74d3ef79611fe884d87f257c5a86d6b 100644 (file)
@@ -75,6 +75,12 @@ function initApplication ($path) {
        // Enable HTML templates by default
        enableTemplateHtml();
 
+       // Init stats system
+       initStatsSystem();
+
+       // Init HTTP handling
+       initHttp();
+
        // Are we in installation phase?
        if ((!isInstaller()) && (isInstalled())) {
                // Regular bootstrap
@@ -84,15 +90,6 @@ function initApplication ($path) {
                doInstallerBootstrap();
        }
 
-       // Init stats system
-       initStatsSystem();
-
-       // Init HTTP handling
-       initHttp();
-
-       // Init stats system
-       initStatsSystem();
-
        // Handle fatal errors
        runFilterChain('handle_fatal_errors');
 }