diff --git a/config/smartyadmin.config.inc.php b/config/smartyadmin.config.inc.php index 556f9d373..fbf14a214 100644 --- a/config/smartyadmin.config.inc.php +++ b/config/smartyadmin.config.inc.php @@ -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']);