From 65a717a0273a9173c0bd0151ecc7caee152756ba Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 24 Feb 2014 14:51:40 +0100 Subject: no html output for ED() in application/* docs --- it_debug.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_debug.class') diff --git a/it_debug.class b/it_debug.class index a3e6575..6a3ce6c 100644 --- a/it_debug.class +++ b/it_debug.class @@ -78,7 +78,7 @@ static function srcline($stackoffs = 0) */ static function dump($args) { - if ((preg_match('/csv|txt|gif|jpg|json/', $_SERVER['PHP_SELF']) || preg_grep('#text/(calendar|css|javascript|json|plain|rfc822|xml)#', headers_list()) || $GLOBALS['debug_edplain']) && !$GLOBALS['debug_edhtml']) + if ((preg_match('/csv|txt|gif|jpg|json/', $_SERVER['PHP_SELF']) || preg_grep('#text/(calendar|css|javascript|json|plain|rfc822|xml)|application/#', headers_list()) || $GLOBALS['debug_edplain']) && !$GLOBALS['debug_edhtml']) $plain = 1; else if ($_SERVER['REMOTE_ADDR']) list($blue, $noblue) = array("", ""); -- cgit v1.2.3