Skip to content

Commit a53489e

Browse files
leofeyerfabpot
authored andcommitted
Do not normalize the kernel root directory path (see symfony#15474).
1 parent 6dac13b commit a53489e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ public function getRootDir()
344344
{
345345
if (null === $this->rootDir) {
346346
$r = new \ReflectionObject($this);
347-
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName()));
347+
$this->rootDir = dirname($r->getFileName());
348348
}
349349

350350
return $this->rootDir;

0 commit comments

Comments
 (0)