make title configurable
[phorkie.git] / www / www-header.php
index 0a3b5628ce0d9c2e33c413b6b5e73a3a1c415fb0..756bdc97f936cabb95b0bfffae5c92c77c2fbd50 100644 (file)
@@ -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);
 }