Skip to content

Commit

Permalink
merged branch jaugustin/fix-cache-clear-windows-2.0 (PR #4408)
Browse files Browse the repository at this point in the history
Commits
-------

35b458f fix kernel root, linux dir separator on windows, to fix cache:clear issue

Discussion
----------

Fix cache clear windows 2.0

Hi,

This fix the issue #3453 for the 2.0 branch.

---------------------------------------------------------------------------

by travisbot at 2012-05-25T07:43:47Z

This pull request [fails](http://travis-ci.org/symfony/symfony/builds/1430935) (merged 35b458f into f9044e4).
  • Loading branch information
fabpot committed May 25, 2012
2 parents f9044e4 + 35b458f commit 167779e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Kernel.php
Expand Up @@ -374,7 +374,7 @@ public function getRootDir()
{
if (null === $this->rootDir) {
$r = new \ReflectionObject($this);
$this->rootDir = dirname($r->getFileName());
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName()));
}

return $this->rootDir;
Expand Down

0 comments on commit 167779e

Please sign in to comment.