Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r4771 -r4782 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 4771) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 4782) @@ -14,7 +14,7 @@ var $CacheExpired = false; var $prefixFiles = array(); - + var $ProcessAllConfigs = false; /** @@ -119,9 +119,11 @@ function scanModules($folderPath) { - $restored = $this->RestoreParsedData(); - if ($restored) return; - + if (!defined('IS_INSTALL')) { + $restored = $this->RestoreParsedData(); + if ($restored) return; + } + $this->ProcessAllConfigs = true; $this->includeConfigFiles(); @@ -223,7 +225,7 @@ $this->parseConfig($prefix); } } - + function AfterConfigRead() { if (!$this->ProcessAllConfigs) return ; @@ -386,7 +388,7 @@ function loadConfigFile($filename) { - $config_found = file_exists(FULL_PATH.$filename) && $this->configAllowed($filename); + $config_found = file_exists(FULL_PATH.$filename) && ($this->configAllowed($filename) || defined('IS_INSTALL')); if( defined('DEBUG_MODE') && DEBUG_MODE && constOn('DBG_PROFILE_INCLUDES') ) {