[*] Smarty: move tools/smarty/compile/ and tools/smarty/cache/ folders to cache/smarty/compile/ and cache/smarty/cache/ folders
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user