From f901cf85abe0d2b534e7bdd51812efbc2d6baf80 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 25 Jan 2008 14:49:11 +0000 Subject: more info with auto_prepend in trace --- it_debug.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_debug.class') diff --git a/it_debug.class b/it_debug.class index 8b3fd2a..b0f544e 100644 --- a/it_debug.class +++ b/it_debug.class @@ -186,7 +186,7 @@ function backtrace($p = array()) { if (($fn = $call['file']) && !it::match($p['skipfiles'], $call['file'])) { - $fn = (it::match('auto_prepend', $fn) ? basename(dirname($fn)) . "/" : "") . basename($fn); + $fn = (it::match('auto_prepend', $fn) ? basename(dirname(dirname($fn))) . "/" : "") . basename($fn); $result[] = $fn . ":" . $call['line']; if (--$p['levels'] == 0) -- cgit v1.2.3