Update index.php
This commit is contained in:
parent
380a21985d
commit
9cde4d1bd5
12
index.php
12
index.php
|
@ -6,7 +6,7 @@
|
|||
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||
* @brief ReasonableFramework
|
||||
* @cvs https://github.com/gnh1201/reasonableframework
|
||||
* @sponsor https://patreon.com/catswords
|
||||
* @sponsor https://patreon.com/catswords (If you want use advanced security, check this link)
|
||||
*/
|
||||
|
||||
define("_DEF_VSPF_", true); // compatible to VSPF
|
||||
|
@ -14,11 +14,11 @@ define("_DEF_RSF_", true); // compatible to RSF
|
|||
define("APP_DEVELOPMENT", false); // set the status of development
|
||||
define("DOC_EOL", "\r\n"); // set the 'end of line' commonly
|
||||
define("CORS_DOMAINS", false); // allow origin domains
|
||||
define("PHP_FIREWALL_REQUEST_URI", false); // only for sponsors
|
||||
define("PHP_FIREWALL_ACTIVATION", false); // only for sponsors (xss, csrf, sql injection, ...)
|
||||
define("PHP_DDOS_PROTECTION", false); // only for sponsors (ddos protection, warn to email, ...)
|
||||
define("PHP_WEBSHELL_DETECTION", false); // only for sponsors (detect webshell malware)
|
||||
define("PHP_SECURE_CONFIG_CHECK", false); // only for sponsors (secure configuration checker)
|
||||
define("PHP_FIREWALL_REQUEST_URI", false); // advanced security
|
||||
define("PHP_FIREWALL_ACTIVATION", false); // advanced security
|
||||
define("PHP_DDOS_PROTECTION", false); // advanced security
|
||||
define("PHP_WEBSHELL_DETECTION", false); // advanced security
|
||||
define("PHP_SECURE_CONFIG_CHECK", false); // advanced security
|
||||
|
||||
// check if current status is development
|
||||
if(APP_DEVELOPMENT == true) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user