8000 [HttpKernel] unified paths on Windows and *nix · fabpot/symfony@1148519 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1148519

Browse files
committed
[HttpKernel] unified paths on Windows and *nix
1 parent b74bb15 commit 1148519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Bundle/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ protected function initReflection()
165165
$this->namespacePrefix = str_replace('/', '\\', dirname($tmp));
166166
$this->name = basename($tmp);
167167
$this->reflection = new \ReflectionObject($this);
168-
$this->path = dirname($this->reflection->getFilename());
168+
$this->path = str_replace('\\', '/', dirname($this->reflection->getFilename()));
169169
}
170170
}

0 commit comments

Comments
 (0)
0