Ticket #1417: sfCrudGenerator.patch
| File sfCrudGenerator.patch, 1.0 kB (added by gnat, 2 years ago) |
|---|
-
sfCrudGenerator.class.php
old new 88 88 $this->setTheme($theme); 89 89 90 90 $templateFiles = array_merge( 91 sfFinder::type('file')->name('*.php')->relative()->in(sfLoader::getGeneratorTemplate($this->getGeneratorClass(), 'default', '').'/templates'),91 sfFinder::type('file')->name('*.php')->relative()->in(sfLoader::getGeneratorTemplate($this->getGeneratorClass(), $this->getTheme(), '').'/templates'), 92 92 sfFinder::type('file')->name('*.php')->relative()->in($themeDir.'/templates') 93 93 ); 94 94 95 95 $configFiles = array_merge( 96 sfFinder::type('file')->name('*.yml')->relative()->in(sfLoader::getGeneratorTemplate($this->getGeneratorClass(), 'default', '').'/config'),96 sfFinder::type('file')->name('*.yml')->relative()->in(sfLoader::getGeneratorTemplate($this->getGeneratorClass(), $this->getTheme(), '').'/config'), 97 97 sfFinder::type('file')->name('*.yml')->relative()->in($themeDir.'/config') 98 98 ); 99 99