Using Windows 2003 and PHP 5.2.5 I get an error generating a CRUD with revision 7829
The error is on line 364 of sfFinder.class.php: (in() method)
$files = array_merge($files, str_replace($dir.DIRECTORY_SEPARATOR, , $this->search_in($dir)));
called by line 80 of sfGenerator.class.php:
$templateFile = $this->generatorManager->getConfiguration()->getGeneratorTemplate($this->getGeneratorClass(), $this->getTheme(), $templateFile);
The problem is that $dir already ends with a DIRECTORY_SEPARATOR, so the replacement does not happen and we end up with absolute an path.
We may need to test if $dir ends with DIRECTORY_SEPARATOR before adding it in the in() method