From a53489e49a6fd6cd2f906639c20891cfc825f50a Mon Sep 17 00:00:00 2001 From: Leo Feyer Date: Mon, 24 Aug 2015 20:39:42 +0200 Subject: [PATCH] Do not normalize the kernel root directory path (see symfony/symfony#15474). --- src/Symfony/Component/HttpKernel/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index 5655275e53..cf3510047d 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -344,7 +344,7 @@ abstract class Kernel implements KernelInterface, TerminableInterface { if (null === $this->rootDir) { $r = new \ReflectionObject($this); - $this->rootDir = str_replace('\\', '/', dirname($r->getFileName())); + $this->rootDir = dirname($r->getFileName()); } return $this->rootDir;