summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-07-22 18:02:50 +0200
committerUrban Müller2016-07-22 18:02:50 +0200
commita669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad (patch)
treecb19328338a8b19723cd42d9a65c1de9351ea1cb
parent1b79dde7920f6eab7c0d04d22bd05607235c07d1 (diff)
downloaditools-a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad.tar.gz
itools-a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad.tar.bz2
itools-a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad.zip
use safer variable
-rw-r--r--auto_prepend.php2
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));