summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2008-01-25 14:49:11 +0000
committerUrban Müller2008-01-25 14:49:11 +0000
commitf901cf85abe0d2b534e7bdd51812efbc2d6baf80 (patch)
tree7d8e74f75ab3a18e069d3a08b79aeefbeedbd0c8 /it_debug.class
parent82fbf0e36d26aa672964d1f908e4f05ad6bef797 (diff)
downloaditools-f901cf85abe0d2b534e7bdd51812efbc2d6baf80.tar.gz
itools-f901cf85abe0d2b534e7bdd51812efbc2d6baf80.tar.bz2
itools-f901cf85abe0d2b534e7bdd51812efbc2d6baf80.zip
more info with auto_prepend in trace
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
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)