Permalink
Browse files

Replacing use of Configure::corePaths() with App::core() in Debugger.

  • Loading branch information...
1 parent bf551c2 commit 22721fcb8b126197182dd2c8a6afc52859173a47 @jperras jperras committed Sep 26, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 cake/libs/debugger.php
@@ -425,7 +425,8 @@ function trimPath($path) {
} elseif (strpos($path, ROOT) === 0) {
return str_replace(ROOT, 'ROOT', $path);
}
- $corePaths = Configure::corePaths('cake');
+ $corePaths = App::core('cake');
+
foreach ($corePaths as $corePath) {
if (strpos($path, $corePath) === 0) {
return str_replace($corePath, 'CORE' .DS . 'cake' .DS, $path);

0 comments on commit 22721fc

Please sign in to comment.