Index: branches/unlabeled/unlabeled-1.58.2/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r5918 -r5919 --- branches/unlabeled/unlabeled-1.58.2/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 5918) +++ branches/unlabeled/unlabeled-1.58.2/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 5919) @@ -196,11 +196,19 @@ */ function ParseConfigs() { + $prioritized_configs = array(); foreach ($this->configData as $prefix => $config) { - if ($prefix == 'inl-overrides') continue; + if (isset($config['ConfigPriority'])) { + $prioritized_configs[$prefix] = $config['ConfigPriority']; + continue; + } $this->parseConfig($prefix); } - $this->parseConfig('inl-overrides'); + asort($prioritized_configs); + foreach ($prioritized_configs as $prefix => $priority) + { + $this->parseConfig($prefix); + } foreach ($this->configData as $prefix => $config) { $this->ProcessDependencies($prefix);