// Use smarty->getTemplateDir(0) instead of smarty->template_dir[0] (private property)
This commit is contained in:
1 parent
4a50ca4e9f
commit
8e84c47a1d
4 files changed
+6
-6
No files matched your search
@@ -25,7 +25,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
global $smarty;
|
||||
$smarty->template_dir = _PS_THEME_DIR_.'tpl';
|
||||
$smarty->setTemplateDir(_PS_THEME_DIR_.'tpl');
|
||||
|
||||
function smartyTranslate($params, &$smarty)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user