Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 167779e

Browse filesBrowse files
committed
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) (merged 35b458f into f9044e4).
2 parents f9044e4 + 35b458f commit 167779e
Copy full SHA for 167779e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/Kernel.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Kernel.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function getRootDir()
374374
{
375375
if (null === $this->rootDir) {
376376
$r = new \ReflectionObject($this);
377-
$this->rootDir = dirname($r->getFileName());
377+
$this->rootDir = str_replace('\\', '/', dirname($r->getFileName()));
378378
}
379379

380380
return $this->rootDir;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.