diff options
-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 f4f0b1c..4115f83 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_ADDR']) + if ($_SERVER['REMOTE_ADDR'] && !headers_sent()) header("Content-Type: text/html"); # Not going to be e.g. a valid gif anyway exit(it_debug::dump($args)); |