Do not normalize the kernel root directory path (see symfony/symfony#15474).
This commit is contained in:
parent
6dac13bc20
commit
a53489e49a
@ -344,7 +344,7 @@ abstract class Kernel implements KernelInterface, TerminableInterface
|
|||||||
{
|
{
|
||||||
if (null === $this->rootDir) {
|
if (null === $this->rootDir) {
|
||||||
$r = new \ReflectionObject($this);
|
$r = new \ReflectionObject($this);
|
||||||
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName()));
|
$this->rootDir = dirname($r->getFileName());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->rootDir;
|
return $this->rootDir;
|
||||||
|
Reference in New Issue
Block a user