mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* moved more templates to Twig
* now you can replace template in your main template, example is templates/kathrine/templates/success.html * removed output_errors, replace with template * some grammar fixes * moved some forum code to Twig templates * added movies link to tibiacom template
This commit is contained in:
@@ -94,4 +94,6 @@ if($config['forum'] != '')
|
||||
}
|
||||
|
||||
$twig->addGlobal('template_path', $template_path);
|
||||
if($twig_loader && file_exists(BASE . $template_path . '/templates'))
|
||||
$twig_loader->prependPath(BASE . $template_path . '/templates');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user