mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user