Update index.php

This commit is contained in:
Namhyeon Go 2019-06-04 17:25:53 +09:00 committed by GitHub
parent 380a21985d
commit 9cde4d1bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {