From cfd562e4d8986b9e08f4a979d9eb2082f6eaaf87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 22 Sep 2009 17:05:15 +0000 Subject: [PATCH] We should not auto-init sub-systems. Instead we should initialize them 'by-hand' --- inc/config-functions.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/inc/config-functions.php b/inc/config-functions.php index 531ad18844..d261faecaa 100644 --- a/inc/config-functions.php +++ b/inc/config-functions.php @@ -73,12 +73,6 @@ function setConfigEntry ($configEntry, $value) { $configEntry = smartAddSlashes($configEntry); } - // If config array isn't set, set it - if (!isConfigLoaded()) { - // Init configuration array - initConfig(); - } // END - if - // And set it $GLOBALS['config'][$configEntry] = $value; } -- 2.39.5