summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2013-09-16 15:35:36 +0000
committerUrban Müller2013-09-16 15:35:36 +0000
commitd4e9c671d73026d7a85acd0304fca2cc7f09ac5e (patch)
tree649da1c179e6074bebf8a16d03f28a798d0f4a20 /it_debug.class
parent8fc42ac46c7aa2870b400152ea190feb7427581b (diff)
downloaditools-d4e9c671d73026d7a85acd0304fca2cc7f09ac5e.tar.gz
itools-d4e9c671d73026d7a85acd0304fca2cc7f09ac5e.tar.bz2
itools-d4e9c671d73026d7a85acd0304fca2cc7f09ac5e.zip
ED should output plain txt for json
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index 4c5af95..886484c 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -80,7 +80,7 @@ static function srcline($stackoffs = 0)
*/
static function dump($args)
{
- if (preg_match('/csv|txt|gif|jpg/', $_SERVER['PHP_SELF']) || preg_grep('#text/(calendar|css|javascript|json|plain|rfc822|xml)#', headers_list()))
+ if (preg_match('/csv|txt|gif|jpg|json/', $_SERVER['PHP_SELF']) || preg_grep('#text/(calendar|css|javascript|json|plain|rfc822|xml)#', headers_list()))
$plain = 1;
else if ($_SERVER['REMOTE_ADDR'])
list($blue, $noblue) = array("<span style='color:#00c'>", "</span>");