From 8bb41fb5f8bde0e6802b3b1813b7edc5b67b7ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Thu, 3 Jan 2013 17:49:04 +0100 Subject: [PATCH] [-] BO: override the compile check to true for smarty in the BackOffice --- config/smartyadmin.config.inc.php | 4 ++++ 1 file changed, 4 insertions(+) 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']);