Changeset 8762
- Timestamp:
- 05/04/08 09:11:55 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/sfGeneratorConfigHandler.class.php
r8417 r8762 65 65 $generatorParam = (isset($config['param']) ? $config['param'] : array()); 66 66 67 // hack to find the module name 68 preg_match('# modules/([^/]+)/#', $configFiles[0], $match);67 // hack to find the module name (look for the last /modules/ in path) 68 preg_match('#.*/modules/([^/]+)/#', $configFiles[0], $match); 69 69 $generatorParam['moduleName'] = $match[1]; 70 70