Skip to content

Commit

Permalink
Fixing windows failing test case on the debug function
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 7, 2012
1 parent ba097d4 commit abb370f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/basics.php
Expand Up @@ -76,7 +76,7 @@ function debug($var = false, $showHtml = null, $showFrom = true) {
$lineInfo = '';
if ($showFrom) {
$calledFrom = debug_backtrace();
$file = substr(str_replace(ROOT, '', $calledFrom[0]['file']), 1);
$file = substr(str_ireplace(ROOT, '', $calledFrom[0]['file']), 1);
$line = $calledFrom[0]['line'];
}
$html = <<<HTML
Expand Down

0 comments on commit abb370f

Please sign in to comment.