From ccf3a7b6c46ad50e8d5165eb096c1bfea9af9855 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 4 Feb 2014 20:12:44 +0000 Subject: remove Smarty backward compatible class (pre Smarty3) git-svn-id: http://piwigo.org/svn/trunk@27184 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/template.class.php b/include/template.class.php index 82aa21685..fec9cbd68 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -25,8 +25,7 @@ * @package template */ -//require_once( PHPWG_ROOT_PATH .'include/smarty/libs/Smarty.class.php'); -require_once( PHPWG_ROOT_PATH .'include/smarty/libs/SmartyBC.class.php'); +require_once( PHPWG_ROOT_PATH .'include/smarty/libs/Smarty.class.php'); /** default rank for buttons */ @@ -83,7 +82,7 @@ class Template $this->scriptLoader = new ScriptLoader; $this->cssLoader = new CssLoader; - $this->smarty = new SmartyBC; + $this->smarty = new Smarty; $this->smarty->debugging = $conf['debug_template']; if (!$this->smarty->debugging) { -- cgit v1.2.3