有没有办法在Prestashop 1.5中使用smarty2而不是smarty3?我已经从1.2.5更新了,主题是ruined.Thanks
发布于 2013-02-19 21:59:24
也许可以试试Smarty的向后兼容功能。
在"/config/smarty.config.inc.php“文件中,替换:
require_once(_PS_SMARTY_DIR_.'Smarty.class.php');
global $smarty;
$smarty = new Smarty();通过
require_once(_PS_SMARTY_DIR_.'SmartyBC.class.php');
global $smarty;
$smarty = new SmartyBC();https://stackoverflow.com/questions/14959082
复制相似问题