X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/1c14a6bfb93c914374a6b2f96aec971f8c5b3053..1dbeb12332ae24ea782b557636fff0cc59805f12:/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(); } );