Do not normalize the kernel root directory path (see symfony/symfony#15474).

This commit is contained in:
Leo Feyer 2015-08-24 20:39:42 +02:00 committed by Fabien Potencier
parent 6dac13bc20
commit a53489e49a
1 changed files with 1 additions and 1 deletions

View File

@ -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;