remove Smarty backward compatible class (pre Smarty3)

git-svn-id: http://piwigo.org/svn/trunk@27184 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2014-02-04 20:12:44 +00:00
parent 29eb4be6af
commit ccf3a7b6c4
+2 -3
View File
@@ -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)
{