summaryrefslogtreecommitdiff
path: root/auto_prepend.php
diff options
context:
space:
mode:
authorUrban Müller2018-05-15 17:58:17 +0200
committerUrban Müller2018-05-15 17:58:17 +0200
commite746cce3465a662115cf8cbaea030ac48403736d (patch)
treef7ef99226c33968e00e6eb39655fe524fe339382 /auto_prepend.php
parent45fc347816f303c19fb484b9ba4f7bfa96f29f88 (diff)
downloaditools-e746cce3465a662115cf8cbaea030ac48403736d.tar.gz
itools-e746cce3465a662115cf8cbaea030ac48403736d.tar.bz2
itools-e746cce3465a662115cf8cbaea030ac48403736d.zip
dont cause extra errs
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));