From e444c97372c3c0e04e0707f1c2255c2f2efe37d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 20 Jul 2016 09:47:52 +0200 Subject: [PATCH] Possible fix for array_push() message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/general-functions.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/inc/general-functions.php b/inc/general-functions.php index acdec10b65..1fba1265d7 100644 --- a/inc/general-functions.php +++ b/inc/general-functions.php @@ -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'); } -- 2.39.5