From a669efe58722ef93c1bf8a1bbe85bf2e7c8ff6ad Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 22 Jul 2016 18:02:50 +0200 Subject: use safer variable --- auto_prepend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_prepend.php') 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)); -- cgit v1.2.3