diff options
author | Urban Müller | 2018-05-15 17:58:17 +0200 |
---|---|---|
committer | Urban Müller | 2018-05-15 17:58:17 +0200 |
commit | e746cce3465a662115cf8cbaea030ac48403736d (patch) | |
tree | f7ef99226c33968e00e6eb39655fe524fe339382 /auto_prepend.php | |
parent | 45fc347816f303c19fb484b9ba4f7bfa96f29f88 (diff) | |
download | itools-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.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)); |