Skip to content

Commit

Permalink
bug #15603 [HttpKernel] Do not normalize the kernel root directory path
Browse files Browse the repository at this point in the history
#15567 (leofeyer)

This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #15603).

Discussion
----------

[HttpKernel] Do not normalize the kernel root directory path #15567

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15474
| License       | MIT
| Doc PR        | -

Commits
-------

a53489e Do not normalize the kernel root directory path (see #15474).
  • Loading branch information
fabpot committed Aug 30, 2015
2 parents 6dac13b + a53489e commit 43f5b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Kernel.php
Expand Up @@ -344,7 +344,7 @@ public function getRootDir()
{
if (null === $this->rootDir) {
$r = new \ReflectionObject($this);
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName()));
$this->rootDir = dirname($r->getFileName());
}

return $this->rootDir;
Expand Down

0 comments on commit 43f5b9e

Please sign in to comment.