X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/b8ec7e50b61c241d84a7b0e2c7be6c369a8c0dd2..1dbeb12332ae24ea782b557636fff0cc59805f12:/www/www-header.php diff --git a/www/www-header.php b/www/www-header.php index 5b2fa56..0a3b562 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -1,5 +1,5 @@ $e)); + render( + 'exception', + array( + 'exception' => $e, + 'debug' => $GLOBALS['phorkie']['cfg']['debug'] + ) + ); exit(); } ); @@ -45,6 +51,7 @@ $twig = new \Twig_Environment( function render($tplname, $vars) { + $vars['css'] = $GLOBALS['phorkie']['cfg']['css']; $template = $GLOBALS['twig']->loadTemplate($tplname . '.htm'); echo $template->render($vars); }