Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r8029 -r8039 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 8029) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 8039) @@ -736,6 +736,16 @@ { return isset($this->prefixFiles[$prefix]) ? true : false; } + + function iterateConfigs($callback_function) + { + $this->includeConfigFiles(MODULES_PATH); //make sure to re-read all configs + $this->AfterConfigRead(); + + foreach ($this->configData as $prefix => $config_data) { + $callback_function[0]->$callback_function[1]($prefix, $config_data, $callback_function[2]); + } + } }