From 7ead257798dfec23484b12f30456a66d3a188966 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 28 Sep 2010 21:56:09 +0200 Subject: [PATCH] [FrameworkBundle] Fixed a windows compatibility issue --- src/Symfony/Bundle/FrameworkBundle/Util/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Util/Filesystem.php b/src/Symfony/Bundle/FrameworkBundle/Util/Filesystem.php index 9000af50c6..82f91b48de 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Util/Filesystem.php +++ b/src/Symfony/Bundle/FrameworkBundle/Util/Filesystem.php @@ -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);