merged branch jaugustin/fix-cache-clear-windows-2.0 (PR #4408)
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) (merged35b458f6
intof9044e44
).
This commit is contained in:
commit
167779e546
@ -374,7 +374,7 @@ abstract class Kernel implements KernelInterface
|
||||
{
|
||||
if (null === $this->rootDir) {
|
||||
$r = new \ReflectionObject($this);
|
||||
$this->rootDir = dirname($r->getFileName());
|
||||
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName()));
|
||||
}
|
||||
|
||||
return $this->rootDir;
|
||||
|
Reference in New Issue
Block a user