diff options
author | Urban Müller | 2014-02-24 14:51:40 +0100 |
---|---|---|
committer | Urban Müller | 2014-02-24 14:51:40 +0100 |
commit | 65a717a0273a9173c0bd0151ecc7caee152756ba (patch) | |
tree | ba67a365cbe8ef912f2ab1dec7003ca7115c17c0 | |
parent | 26600506229b08792da13dcfb1d4cad5a4f6a006 (diff) | |
download | itools-65a717a0273a9173c0bd0151ecc7caee152756ba.tar.gz itools-65a717a0273a9173c0bd0151ecc7caee152756ba.tar.bz2 itools-65a717a0273a9173c0bd0151ecc7caee152756ba.zip |
no html output for ED() in application/* docs
-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 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("<span style='color:#00c'>", "</span>"); |