From 52d34edb03a052a405612d315d31818a953b68ae 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 1a7a07ba18d..3362983de62 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'); @@ -3009,7 +3010,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();