Development

Changeset 7831

You must first sign up to be able to contribute.

Changeset 7831

Show
Ignore:
Timestamp:
03/12/08 16:09:01 (7 months ago)
Author:
fabien
Message:

fixed inclusion of generator.yml for every module (closes #1949)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/config/sfGeneratorConfigHandler.class.php

    r3203 r7831  
    6767 
    6868    // hack to find the module name 
    69     preg_match('#'.sfConfig::get('sf_app_module_dir_name').'/([^/]+)/#', $configFiles[1], $match); 
     69    preg_match('#'.sfConfig::get('sf_app_module_dir_name').'/([^/]+)/#', $configFiles[0], $match); 
    7070    $generatorParam['moduleName'] = $match[1]; 
    7171