diff options
author | Urban Müller | 2016-07-25 17:18:48 +0200 |
---|---|---|
committer | Urban Müller | 2016-07-25 17:18:48 +0200 |
commit | 3df8bdf87d233254db931b9d91a26b33c8e36aa8 (patch) | |
tree | eef4d238775fb0f511b302e9938754fb8772ccad | |
parent | 7997364d5464c4461e1cdc054d0bf8e072ff845f (diff) | |
download | itools-3df8bdf87d233254db931b9d91a26b33c8e36aa8.tar.gz itools-3df8bdf87d233254db931b9d91a26b33c8e36aa8.tar.bz2 itools-3df8bdf87d233254db931b9d91a26b33c8e36aa8.zip |
prevent useless auto_prepend.php:ED() stack frame
-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 2c08e4b..7f51172 100644 --- a/it_debug.class +++ b/it_debug.class @@ -152,7 +152,7 @@ static function dump($args) $r = str_repeat(" ", count(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')))-3) . $r; # not it_html::Q(); we dont wanna load it_html in ultraclassloader debugging - $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 1)), ENT_COMPAT, "ISO-8859-1"); + $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 2)), ENT_COMPAT, "ISO-8859-1"); # skip this func as well as ED()/EDX() if ($htmlok) return "<pre title='$title' style='color:#c00; text-align:left; background:white; border-bottom:1px solid #ddd; z-index:9999; position:relative'>$r</pre>\n"; |