diff options
author | Urban Müller | 2017-07-21 16:12:05 +0200 |
---|---|---|
committer | Urban Müller | 2017-07-21 16:12:05 +0200 |
commit | 610f6f53f74fe29c7b8a7ef994108afc5d0b5019 (patch) | |
tree | 7143a194cad1222776c21430966e8a8fe8389bb1 /it.class | |
parent | f3d1953bbcec5e4125868c75a249f341d36a987a (diff) | |
download | itools-610f6f53f74fe29c7b8a7ef994108afc5d0b5019.tar.gz itools-610f6f53f74fe29c7b8a7ef994108afc5d0b5019.tar.bz2 itools-610f6f53f74fe29c7b8a7ef994108afc5d0b5019.zip |
dont try to set headers if content already sent
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -269,7 +269,7 @@ static function error($p = array()) if ($p['fatal']) { - if ($_SERVER['REMOTE_ADDR']) + if ($_SERVER['REMOTE_ADDR'] && !headers_sent()) header("HTTP/1.0 500 Internal Server Error"); exit(99); } |