FIX USEDOLIBARREDITOR not always set
This commit is contained in:
parent
8e0a023270
commit
52d34edb03
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
define('NOSCANPOSTFORINJECTION', 1);
|
define('NOSCANPOSTFORINJECTION', 1);
|
||||||
define('NOSTYLECHECK', 1);
|
define('NOSTYLECHECK', 1);
|
||||||
|
define('USEDOLIBARREDITOR', 1);
|
||||||
|
|
||||||
header('X-XSS-Protection:0');
|
header('X-XSS-Protection:0');
|
||||||
|
|
||||||
@ -3009,7 +3010,6 @@ if ($action == 'preview' || $action == 'createfromclone' || $action == 'createpa
|
|||||||
// If mode WEBSITE_SUBCONTAINERSINLINE is on
|
// If mode WEBSITE_SUBCONTAINERSINLINE is on
|
||||||
if (! empty($conf->global->WEBSITE_SUBCONTAINERSINLINE))
|
if (! empty($conf->global->WEBSITE_SUBCONTAINERSINLINE))
|
||||||
{
|
{
|
||||||
define('USEDOLIBARREDITOR', 1);
|
|
||||||
//var_dump($filetpl);
|
//var_dump($filetpl);
|
||||||
$filephp = $filetpl;
|
$filephp = $filetpl;
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user