mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +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);
|
$twig->addGlobal('template_path', $template_path);
|
||||||
if($twig_loader && file_exists(BASE . $template_path))
|
if($twig_loader) {
|
||||||
$twig_loader->prependPath(BASE . $template_path);
|
$twig_loader->prependPath(BASE . $template_path);
|
||||||
|
}
|
||||||
|
|
||||||
function get_template_menus() {
|
function get_template_menus() {
|
||||||
global $db, $template_name;
|
global $db, $template_name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user