From d30f723f84205657d5ce41c5a1b105d24d5442a8 Mon Sep 17 00:00:00 2001 From: jBreux Date: Wed, 21 Dec 2011 14:36:38 +0000 Subject: [PATCH] // Fix : With Smarty 3 use methods rather than private members git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11494 b9a71923-0436-4b27-9f14-aed3839534dd --- config/smarty.config.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/smarty.config.inc.php b/config/smarty.config.inc.php index d4408d92f..5ca0c2748 100644 --- a/config/smarty.config.inc.php +++ b/config/smarty.config.inc.php @@ -31,9 +31,9 @@ require_once(_PS_SMARTY_DIR_.'Smarty.class.php'); global $smarty; $smarty = new Smarty(); -$smarty->compile_dir = _PS_CACHE_DIR_.'smarty/compile'; -$smarty->cache_dir = _PS_CACHE_DIR_.'smarty/cache'; -$smarty->config_dir = _PS_SMARTY_DIR_.'configs'; +$smarty->setCompileDir(_PS_CACHE_DIR_.'smarty/compile'); +$smarty->setCacheDir(_PS_CACHE_DIR_.'smarty/cache'); +$smarty->setConfigDir(_PS_SMARTY_DIR_.'configs'); $smarty->caching = false; $smarty->force_compile = (Configuration::get('PS_SMARTY_FORCE_COMPILE') == _PS_SMARTY_FORCE_COMPILE_) ? true : false; $smarty->compile_check = (Configuration::get('PS_SMARTY_FORCE_COMPILE') == _PS_SMARTY_CHECK_COMPILE_) ? true : false;