aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-02-04 20:12:44 +0000
committerrvelices <rv-github@modusoptimus.com>2014-02-04 20:12:44 +0000
commitccf3a7b6c46ad50e8d5165eb096c1bfea9af9855 (patch)
tree43d2172d956b4290f31b553106029cd3ac5a4f0a /include/template.class.php
parent29eb4be6aff79b1424c98186e5694b97150e0a5a (diff)
remove Smarty backward compatible class (pre Smarty3)
git-svn-id: http://piwigo.org/svn/trunk@27184 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/template.class.php5
1 files 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)
{