summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2008-06-20 12:40:12 +0000
committerUrban Müller2008-06-20 12:40:12 +0000
commit49e067914373fbafe98c71f5dbb6c807b6e27476 (patch)
treebcaeda6666539c7bab1c52b00b2d7ac01b14a2c5 /it_debug.class
parent104c99f2c84485a03577e35c700d566e61c09e9f (diff)
downloaditools-49e067914373fbafe98c71f5dbb6c807b6e27476.tar.gz
itools-49e067914373fbafe98c71f5dbb6c807b6e27476.tar.bz2
itools-49e067914373fbafe98c71f5dbb6c807b6e27476.zip
quote entities for wget
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'])
{