Index: branches/RC/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r11398 -r11403 --- branches/RC/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 11398) +++ branches/RC/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 11403) @@ -843,6 +843,17 @@ return isset($this->prefixFiles[$prefix]) ? true : false; } + /** + * Returns config file for given prefix + * + * @param string $prefix + * @return string + */ + function getPrefixFile($prefix) + { + return array_key_exists($prefix, $this->prefixFiles) ? $this->prefixFiles[$prefix] : false; + } + function iterateConfigs($callback_function, $params) { $this->includeConfigFiles(MODULES_PATH); //make sure to re-read all configs