From: Michael Wallner Date: Fri, 2 Oct 2015 08:16:18 +0000 (+0200) Subject: legacy X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8c22806e566c34287aa78bc481adf43bb39e3501;p=mdref%2Fmdref legacy --- diff --git a/mdref/ExceptionHandler.php b/mdref/ExceptionHandler.php index aeff40b..608afaa 100644 --- a/mdref/ExceptionHandler.php +++ b/mdref/ExceptionHandler.php @@ -62,9 +62,9 @@ class ExceptionHandler public static function htmlException(\Exception $e, array $title_tag = ["h1"], array $message_tag = ["p"], array $trace_tag = ["pre", "style='font-size:smaller;overflow-x:scroll'"]) { if ($e instanceof Exception) { $code = $e->getCode() ?: 500; - foreach ($e->getHeaders() as $key => $val) { - HTTP::setResponseHeader($key, $val); - } + #foreach ($e->getHeaders() as $key => $val) { + # HTTP::setResponseHeader($key, $val); + #} } else { $code = 500; }