This check is useless

This commit is contained in:
tobi132 2019-07-16 23:36:39 +02:00
parent 3945c2ad52
commit 0c207ce12d

View File

@ -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;