diff options
author | Urban Müller | 2015-10-19 13:31:31 +0200 |
---|---|---|
committer | Urban Müller | 2015-10-19 13:31:31 +0200 |
commit | 9460c349f967928a168cbcf004fcbb8bbf1760d8 (patch) | |
tree | c79630526f3bc7d7ff09f5513ab8df949027bdf2 /it_debug.class | |
parent | 65cfeaef1fd38b5494238ea039655c7623d7b4cd (diff) | |
download | itools-9460c349f967928a168cbcf004fcbb8bbf1760d8.tar.gz itools-9460c349f967928a168cbcf004fcbb8bbf1760d8.tar.bz2 itools-9460c349f967928a168cbcf004fcbb8bbf1760d8.zip |
show top level in direct calls of it_debug::backtrace
Diffstat (limited to 'it_debug.class')
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index 6a4c387..89d5259 100644 --- a/it_debug.class +++ b/it_debug.class @@ -174,7 +174,7 @@ static function backtrace($p = array()) $p += array('levels' => 0, 'skiplevels'=> 0, 'skipfiles' => "###"); - foreach (array_slice(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')), $p['skiplevels'] + 1) as $call) + foreach (array_slice(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')), $p['skiplevels']) as $call) { if (($fn = $call['file']) && !it::match($p['skipfiles'], $call['file'])) { |