From 0c207ce12d884009818be7a56039e4abd885b54d Mon Sep 17 00:00:00 2001 From: tobi132 Date: Tue, 16 Jul 2019 23:36:39 +0200 Subject: [PATCH] This check is useless --- system/template.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/template.php b/system/template.php index 7d136d3b..14ae3b4f 100644 --- a/system/template.php +++ b/system/template.php @@ -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;