Created
June 17, 2013 08:17
-
-
Save pscheit/5795394 to your computer and use it in GitHub Desktop.
Revisions
-
pscheit created this gist
Jun 17, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ diff --git "a/C:\\Users\\PHILIP~1\\AppData\\Local\\Temp\\TortoiseGit\\Fil37B7.tmp\\File-21c8cf5-left.php" "b/D:\\www\\php-refactoring-browser\\src\\main\\QafooLabs\\Refactoring\\Domain\\Model\\File.php" index d63e258..52ff6ca 100644 --- "a/C:\\Users\\PHILIP~1\\AppData\\Local\\Temp\\TortoiseGit\\Fil37B7.tmp\\File-21c8cf5-left.php" +++ "b/D:\\www\\php-refactoring-browser\\src\\main\\QafooLabs\\Refactoring\\Domain\\Model\\File.php" @@ -35,7 +35,7 @@ class File } $code = file_get_contents($path); - $relativePath = ltrim(str_replace($workingDirectory, "", $path), "/"); + $relativePath = ltrim(str_replace($workingDirectory, "", $path), "/\\"); return new self($relativePath, $code); }