summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
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 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'])
{