[+] Project : Add Smarty console options

This commit is contained in:
jBreux
2011-12-21 15:35:34 +00:00
parent 58c9a28343
commit dbc30689df
8 changed files with 131 additions and 80 deletions
+3 -1
View File
@@ -25,7 +25,9 @@
* International Registered Trademark & Property of PrestaShop SA
*/
global $smarty;
$smarty->template_dir = _PS_ADMIN_DIR_.'/themes/template';
$smarty->setTemplateDir(_PS_ADMIN_DIR_.'/themes/template');
$smarty->debugging = false;
$smarty->debugging_ctrl = 'NONE';
function smartyTranslate($params, &$smarty)
{