From 172271c98af60d1f6117213b4905694aa96e12df Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 13 Aug 2019 05:22:49 +0200 Subject: [PATCH] FIX USEDOLIBARREDITOR not always set --- htdocs/website/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 0e9724b66c4..9017e7b4464 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -23,6 +23,7 @@ define('NOSCANPOSTFORINJECTION', 1); define('NOSTYLECHECK', 1); +define('USEDOLIBARREDITOR', 1); header('X-XSS-Protection:0'); @@ -3200,7 +3201,6 @@ if ($action == 'preview' || $action == 'createfromclone' || $action == 'createpa // If mode WEBSITE_SUBCONTAINERSINLINE is on if (! empty($conf->global->WEBSITE_SUBCONTAINERSINLINE)) { - define('USEDOLIBARREDITOR', 1); //var_dump($filetpl); $filephp = $filetpl; ob_start();