From eed1178d3861a6f6b528eba83a5cda6726b94acb Mon Sep 17 00:00:00 2001 From: quix0r 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