[-] BO: override the compile check to true for smarty in the BackOffice
This commit is contained in:
@@ -28,6 +28,10 @@ global $smarty;
|
|||||||
$smarty->debugging = false;
|
$smarty->debugging = false;
|
||||||
$smarty->debugging_ctrl = 'NONE';
|
$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)
|
function smartyTranslate($params, &$smarty)
|
||||||
{
|
{
|
||||||
$htmlentities = !isset($params['js']);
|
$htmlentities = !isset($params['js']);
|
||||||
|
|||||||
Reference in New Issue
Block a user