summaryrefslogtreecommitdiff
path: root/auto_prepend.php
diff options
context:
space:
mode:
Diffstat (limited to 'auto_prepend.php')
-rw-r--r--auto_prepend.php2
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));