X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/d6c817be8dfb9d41ea3f19cecd90619cde97209d..d799ee3da63578c33bbdc74b6909e3924a6c80b4:/www/www-header.php diff --git a/www/www-header.php b/www/www-header.php index e7c4542..e5cee94 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -2,7 +2,6 @@ namespace phinde; require_once __DIR__ . '/../src/init.php'; -\Twig_Autoloader::register(); $GLOBALS['twig'] = new \Twig_Environment( new \Twig_Loader_Filesystem(__DIR__ . '/../data/templates'), array( @@ -26,7 +25,7 @@ function render($tplname, $vars = array(), $return = false) if (!isset($vars['htmlhelper'])) { //$vars['htmlhelper'] = new HtmlHelper(); } - $vars['apptitle'] = 'cweiske.de search'; + $vars['apptitle'] = $GLOBALS['phinde']['apptitle']; $vars['baseUrl'] = '/'; $template = $GLOBALS['twig']->loadTemplate($tplname . '.htm');