Skip to content

Commit

Permalink
[HttpKernel] unified paths on Windows and *nix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 4, 2011
1 parent b74bb15 commit 1148519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Bundle/Bundle.php
Expand Up @@ -165,6 +165,6 @@ protected function initReflection()
$this->namespacePrefix = str_replace('/', '\\', dirname($tmp));
$this->name = basename($tmp);
$this->reflection = new \ReflectionObject($this);
$this->path = dirname($this->reflection->getFilename());
$this->path = str_replace('\\', '/', dirname($this->reflection->getFilename()));
}
}

0 comments on commit 1148519

Please sign in to comment.