mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing windows failing test case on the debug function
This commit is contained in:
parent
ba097d404f
commit
abb370fe3f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue