summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-07-25 17:18:48 +0200
committerUrban Müller2016-07-25 17:18:48 +0200
commit3df8bdf87d233254db931b9d91a26b33c8e36aa8 (patch)
treeeef4d238775fb0f511b302e9938754fb8772ccad
parent7997364d5464c4461e1cdc054d0bf8e072ff845f (diff)
downloaditools-3df8bdf87d233254db931b9d91a26b33c8e36aa8.tar.gz
itools-3df8bdf87d233254db931b9d91a26b33c8e36aa8.tar.bz2
itools-3df8bdf87d233254db931b9d91a26b33c8e36aa8.zip
prevent useless auto_prepend.php:ED() stack frame
-rw-r--r--it_debug.class2
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";