]> git.mxchange.org Git - mailer.git/blobdiff - inc/general-functions.php
Possible fix for array_push() message
[mailer.git] / 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');
 }