X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/1dbeb12332ae24ea782b557636fff0cc59805f12..03bca6d0304209d14c6bfaae0e1fb4b85057adfd:/www/www-header.php diff --git a/www/www-header.php b/www/www-header.php index 0a3b562..756bdc9 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -52,6 +52,8 @@ $twig = new \Twig_Environment( function render($tplname, $vars) { $vars['css'] = $GLOBALS['phorkie']['cfg']['css']; + $vars['title'] = $GLOBALS['phorkie']['cfg']['title']; + $template = $GLOBALS['twig']->loadTemplate($tplname . '.htm'); echo $template->render($vars); }