// Use smarty->getTemplateDir(0) instead of smarty->template_dir[0] (private property)

This commit is contained in:
rMalie
2012-01-09 14:02:34 +00:00
parent 31cde0ca2c
commit 364c763a2a
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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)
{