From 49e067914373fbafe98c71f5dbb6c807b6e27476 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 20 Jun 2008 12:40:12 +0000 Subject: quote entities for wget --- 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 23efea5..d25f870 100644 --- a/it_debug.class +++ b/it_debug.class @@ -80,7 +80,7 @@ function srcline($stackoffs = 0) */ function dump($args) { - if (ereg('(csv|txt|gif|jpg)', $_SERVER['PHP_SELF']) || !ereg('Mozilla', $_SERVER['HTTP_USER_AGENT'])) + if (ereg('(csv|txt|gif|jpg)', $_SERVER['PHP_SELF']) || !$_SERVER['HTTP_USER_AGENT']) $plain = 1; else if ($_SERVER['REMOTE_ADDR']) { -- cgit v1.2.3