namespace phinde;
require_once __DIR__ . '/../src/init.php';
-\Twig_Autoloader::register();
$GLOBALS['twig'] = new \Twig_Environment(
new \Twig_Loader_Filesystem(__DIR__ . '/../data/templates'),
array(
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');