diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -248,6 +248,8 @@ static function fatal($title='', $body='', $to='') $p = is_array($title) ? $title : array('title' => $title, 'body' => $body, 'to' => $to); $p['backtraceskip']++; it::error($p); + if ($_SERVER['REMOTE_ADDR']) + header("HTTP/1.0 500 Internal Server Error"); exit(1); } |