Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r4457 -r4584 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 4457) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 4584) @@ -38,9 +38,8 @@ foreach($this->Application->ModuleInfo as $module_name => $module_info) { $module_path = '/'.$module_info['Path']; - if( substr($config_path, 0, strlen($module_path)) == $module_path ) - { - $module_found = true; + if (substr($config_path, 0, strlen($module_path)) == $module_path) { + $module_found = $module_info['Loaded'] ? true : false; break; } }