diff options
author | Urban Müller | 2008-06-20 12:40:12 +0000 |
---|---|---|
committer | Urban Müller | 2008-06-20 12:40:12 +0000 |
commit | 49e067914373fbafe98c71f5dbb6c807b6e27476 (patch) | |
tree | bcaeda6666539c7bab1c52b00b2d7ac01b14a2c5 /it_debug.class | |
parent | 104c99f2c84485a03577e35c700d566e61c09e9f (diff) | |
download | itools-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.class | 2 |
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']) { |