We should not auto-init sub-systems. Instead we should initialize them 'by-hand'
authorRoland Häder <roland@mxchange.org>
Tue, 22 Sep 2009 17:05:15 +0000 (17:05 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 22 Sep 2009 17:05:15 +0000 (17:05 +0000)
inc/config-functions.php

index 531ad18..d261fae 100644 (file)
@@ -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;
 }