From 3bdf6a8bc86179df0a629f8980942f383540af11 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 22 Sep 2021 02:34:05 +0100 Subject: [PATCH] Remove superfluous require Requiring the composer autoload.php will load the Smarty class --- include/lib_smarty.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/lib_smarty.php b/include/lib_smarty.php index b7adf15..0212137 100644 --- a/include/lib_smarty.php +++ b/include/lib_smarty.php @@ -14,8 +14,6 @@ $GLOBALS['cfg']['smarty_compile'] = true; $GLOBALS['cfg']['smarty_force_compile'] = true; - require '../vendor/smarty/smarty/libs/Smarty.class.php'; - $GLOBALS['smarty'] = new Smarty(); $GLOBALS['smarty']->template_dir = $GLOBALS['cfg']['smarty_template_dir']; $GLOBALS['smarty']->compile_dir = $GLOBALS['cfg']['smarty_compile_dir'];