[-] BO: override the compile check to true for smarty in the BackOffice

This commit is contained in:
Rémi Gaillard
2013-01-03 17:49:04 +01:00
parent 2167904c87
commit 8bb41fb5f8
+4
View File
@@ -28,6 +28,10 @@ global $smarty;
$smarty->debugging = false;
$smarty->debugging_ctrl = 'NONE';
/* Smarty should be in compile check mode in the BackOffice */
$smarty->force_compile = false;
$smarty->compile_check = true;
function smartyTranslate($params, &$smarty)
{
$htmlentities = !isset($params['js']);