Index: branches/unlabeled/unlabeled-1.59.2/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r6490 -r6557 --- branches/unlabeled/unlabeled-1.59.2/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 6490) +++ branches/unlabeled/unlabeled-1.59.2/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 6557) @@ -105,7 +105,7 @@ $this->Application->Caches['ConfigVariables'] = $cache['Application.ConfigCacheIds']; $this->Application->ConfigCacheIds = $cache['Application.ConfigCacheIds']; - + $this->Application->ReplacementTemplates = $cache['Application.ReplacementTemplates']; $this->Application->ModuleInfo = $cache['Application.ModuleInfo']; @@ -340,7 +340,7 @@ $this->Application->registerAggregateTag($aggregate_tag); } } - + if (isset($config['ReplacementTemplates']) && $config['ReplacementTemplates']) { // replacement templates defined in this config $this->Application->ReplacementTemplates = array_merge_recursive2($this->Application->ReplacementTemplates, $config['ReplacementTemplates']); @@ -631,6 +631,8 @@ $module_found = false; if (!$this->Application->ModuleInfo) return false; + if (preg_match('/\/plugins\//', $config_path)) return true; + foreach($this->Application->ModuleInfo as $module_name => $module_info) { $module_path = '/'.$module_info['Path'];