Skip to content

Commit 43f5b9e

Browse files
committed
bug symfony#15603 [HttpKernel] Do not normalize the kernel root directory path symfony#15567 (leofeyer)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes symfony#15603). Discussion ---------- [HttpKernel] Do not normalize the kernel root directory path symfony#15567 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#15474 | License | MIT | Doc PR | - Commits ------- a53489e Do not normalize the kernel root directory path (see symfony#15474).
2 parents 6dac13b + a53489e commit 43f5b9e

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)