From abb370fe3f3a03f4552cbef225623b7b68f773c7 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 7 Jan 2012 01:39:40 -0430 Subject: [PATCH] Fixing windows failing test case on the debug function --- lib/Cake/basics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index 9f11f3397..623a95d96 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -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 = <<