mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 03:52:41 +00:00
Remove never reached code in Debugger::trimPath and test more results
This commit is contained in:
parent
f1c2b1fba8
commit
a214fcd992
2 changed files with 5 additions and 5 deletions
|
@ -369,9 +369,6 @@ class Debugger {
|
|||
return str_replace(ROOT, 'ROOT', $path);
|
||||
}
|
||||
|
||||
if (strpos($path, CAKE) === 0) {
|
||||
return str_replace($corePath, 'CORE' . DS, $path);
|
||||
}
|
||||
return $path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue