mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
This check is useless
This commit is contained in:
parent
3945c2ad52
commit
0c207ce12d
@ -103,8 +103,9 @@ if($config['forum'] != '')
|
||||
}
|
||||
|
||||
$twig->addGlobal('template_path', $template_path);
|
||||
if($twig_loader && file_exists(BASE . $template_path))
|
||||
if($twig_loader) {
|
||||
$twig_loader->prependPath(BASE . $template_path);
|
||||
}
|
||||
|
||||
function get_template_menus() {
|
||||
global $db, $template_name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user