diff options
author | Urban Müller | 2016-07-22 18:02:50 +0200 |
---|---|---|
committer | Urban Müller | 2016-07-22 18:02:50 +0200 |
commit | a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad (patch) | |
tree | cb19328338a8b19723cd42d9a65c1de9351ea1cb /auto_prepend.php | |
parent | 1b79dde7920f6eab7c0d04d22bd05607235c07d1 (diff) | |
download | itools-a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad.tar.gz itools-a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad.tar.bz2 itools-a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad.zip |
use safer variable
Diffstat (limited to 'auto_prepend.php')
-rw-r--r-- | auto_prepend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_prepend.php b/auto_prepend.php index 1742a7d..d465592 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -57,7 +57,7 @@ function EDC($var) function EDX() { $args = func_get_args(); - if ($_SERVER['REMOTE_HOST']) + if ($_SERVER['REMOTE_ADDR']) header("Content-Type: text/html"); // not going to e.g. a valid gif anyway exit(it_debug::dump($args)); |