X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/2b4b34a76f42841e964a549fc64c02ba4f60a3f4..5d76ec85a500321127ac879ffaa0aabd686bb7bf:/www/www-header.php diff --git a/www/www-header.php b/www/www-header.php index 77ee758..0a3b562 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -21,7 +21,13 @@ set_exception_handler( } else { header('HTTP/1.0 500 Internal server error'); } - render('exception', array('exception' => $e)); + render( + 'exception', + array( + 'exception' => $e, + 'debug' => $GLOBALS['phorkie']['cfg']['debug'] + ) + ); exit(); } );