[*] Smarty: move tools/smarty/compile/ and tools/smarty/cache/ folders to cache/smarty/compile/ and cache/smarty/cache/ folders

This commit is contained in:
rMalie
2011-10-13 08:14:03 +00:00
parent fe7c458d23
commit 7e3a061d69
11 changed files with 169 additions and 159 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ require_once(_PS_SMARTY_DIR_.'Smarty.class.php');
global $smarty;
$smarty = new Smarty();
$smarty->template_dir = _PS_ADMIN_DIR_.'/themes/template';
$smarty->compile_dir = _PS_SMARTY_DIR_.'admincompile';
$smarty->cache_dir = _PS_SMARTY_DIR_.'admincache';
$smarty->compile_dir = _PS_CACHE_DIR_.'smarty/compile';
$smarty->cache_dir = _PS_CACHE_DIR_.'smarty/cache';
$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;