diff options
author | Christian Helbling | 2011-05-17 11:55:16 +0000 |
---|---|---|
committer | Christian Helbling | 2011-05-17 11:55:16 +0000 |
commit | cde45bdfe5639a63b272f5e683d5778ed0fa6318 (patch) | |
tree | 98663ba8ceb3c48f007e804fb31844ea02346c9a /it_html.class | |
parent | 2e30aa1a87e98719bb570ad32f1eb5324dbe3d10 (diff) | |
download | itools-cde45bdfe5639a63b272f5e683d5778ed0fa6318.tar.gz itools-cde45bdfe5639a63b272f5e683d5778ed0fa6318.tar.bz2 itools-cde45bdfe5639a63b272f5e683d5778ed0fa6318.zip |
added srclines to what output
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class index 087b060..b84473d 100644 --- a/it_html.class +++ b/it_html.class @@ -208,8 +208,9 @@ function body($args) if (EDC('what')) { - ksort($GLOBALS['ULTRADEBUGVARS']); - foreach ($GLOBALS['ULTRADEBUGVARS'] as $var => $dummy) + $debugvars = array_merge($GLOBALS['ULTRADEBUGVARS'], array('srclines' => 1)); + ksort($debugvars); + foreach ($debugvars as $var => $dummy) { if (EDC($var)) $toggled_host = preg_replace("/$var\./", "", $_SERVER['HTTP_HOST']); |