From 2e1d5fed16939fdef60d5bb9ca28373437eacea7 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 17 Jun 2019 15:42:48 +0900 Subject: [PATCH 1/3] Update index.php --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 76f37cb..b4640ce 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ define("_DEF_VSPF_", true); // compatible to VSPF 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); // common security: allow origin domains +define("CORS_DOMAIN", false); // common security: allow origin domains define("SECURITY_VENDOR", false); // advanced security: set security vendor(company) code // check if current status is development @@ -23,8 +23,8 @@ if(APP_DEVELOPMENT == true) { } // CORS Security (https or http) -if(CORS_DOMAINS !== false) { - $domains = explode(",", CORS_DOMAINS); +if(CORS_DOMAIN !== false) { + $domains = explode(",", CORS_DOMAIN); $_origin = array_key_exists("HTTP_ORIGIN", $_SERVER) ? $_SERVER['HTTP_ORIGIN'] : ""; $origins = array(); if(!in_array("*", $domains)) { From 66c025d76781c88c8cb59e3ccef04b847f3daba5 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 17 Jun 2019 15:44:30 +0900 Subject: [PATCH 2/3] Update SECURITY.md --- SECURITY.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index bb0b354..a9e4490 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,10 +6,7 @@ Even if you do not use a sponsor-only security module, the default security in o Please note that this program is for those who want better security than the default. ## Related files -- helper/sec-fw.lnk.php -- helper/sec-ddos.lnk.php -- helper/sec-ws.lnk.php -- helper/sec-scc.lnk.php +- helper/securitytool.lnk.php ## Minimum tier - 4 USD/monthly (Special thanks + Up to contributors) From 2d820429c9eab8fed62565f00de8ae01c51640da Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 17 Jun 2019 16:42:38 +0900 Subject: [PATCH 3/3] Update cli.php --- cli.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.php b/cli.php index e10c7ef..797504d 100644 --- a/cli.php +++ b/cli.php @@ -12,6 +12,7 @@ define("_DEF_VSPF_", true); // compatible to VSPF 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("SECURITY_VENDOR", false); // advanced security: set security vendor(company) code // check if current status is development if(APP_DEVELOPMENT == true) {