MODX_SOFT_MODE

for MODX, when compiling a Fenom tag error, enables the output of this tag as is. To inverse JS / JSON.
This commit is contained in:
touol 2019-11-14 23:09:51 +07:00 committed by GitHub
parent f1b79e6ddd
commit 7f6683e130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class Fenom
const AUTO_TRIM = 0x1000; // reserved
const DENY_PHP_CALLS = 0x2000;
const AUTO_STRIP = 0x4000;
const MODX_SOFT_MODE = 0x8000; //This option for MODX, when compiling a Fenom tag error, enables the output of this tag as is. To inverse JS / JSON.
/**
* Use DENY_PHP_CALLS
* @deprecated
@ -87,6 +88,7 @@ class Fenom
"disable_php_calls" => self::DENY_PHP_CALLS,
"disable_statics" => self::DENY_STATICS,
"strip" => self::AUTO_STRIP,
"modx_soft_mode" => self::MODX_SOFT_MODE,
);
/**