Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r2792 -r2893 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 2792) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 2893) @@ -194,6 +194,9 @@ if($config_found) { $prefix = $config['Prefix']; + + preg_match('/\/(.*)\//U', $filename, $rets); + $config['ModuleFolder'] = $rets[1]; $config['BasePath'] = dirname(FULL_PATH.$filename); $this->configData[$prefix] = $config; $this->ParseConfigClones($prefix);