From cde45bdfe5639a63b272f5e683d5778ed0fa6318 Mon Sep 17 00:00:00 2001 From: Christian Helbling Date: Tue, 17 May 2011 11:55:16 +0000 Subject: added srclines to what output --- it_html.class | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'it_html.class') 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']); -- cgit v1.2.3