[FrameworkBundle] Fixed a windows compatibility issue

This commit is contained in:
Jordi Boggiano 2010-09-28 21:56:09 +02:00 committed by Fabien Potencier
parent 6aa190b2a6
commit 7ead257798
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class Filesystem
}
foreach ($iterator as $file) {
$target = $targetDir.'/'.str_replace($originDir.'/', '', $file->getPathname());
$target = $targetDir.'/'.str_replace($originDir.DIRECTORY_SEPARATOR, '', $file->getPathname());
if (is_dir($file)) {
$this->mkdirs($target);