<?php
-namespace Phorkie;
+namespace phorkie;
set_include_path(
__DIR__ . '/../src/'
. PATH_SEPARATOR . get_include_path()
function render($tplname, $vars)
{
+ $vars['css'] = $GLOBALS['phorkie']['cfg']['css'];
$template = $GLOBALS['twig']->loadTemplate($tplname . '.htm');
echo $template->render($vars);
}