Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r6647 -r6685 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 6647) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 6685) @@ -628,12 +628,11 @@ return true; } + if (preg_match('#/plugins/|/core/#', $config_path)) return true; + $module_found = false; if (!$this->Application->ModuleInfo) return false; - if (preg_match('/\/plugins\//', $config_path)) return true; - if (preg_match('/\/core\//', $config_path)) return true; - foreach($this->Application->ModuleInfo as $module_name => $module_info) { $module_path = '/'.$module_info['Path'];