Update security.php

This commit is contained in:
Namhyeon Go 2019-06-17 15:24:38 +09:00 committed by GitHub
parent e96b77617d
commit 4e21f29e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -627,22 +627,7 @@ if(!check_function_exists("check_redirect_origin")) {
// start session (enable $_SESSION)
session_start();
// set PHP firewall (only for advanced security)
if(PHP_FIREWALL_ACTIVATION !== false) {
loadHelper("sec-fw.lnk");
}
// set DDOS protection (only for advanced security)
if(PHP_DDOS_PROTECTION !== false) {
loadHelper("sec-ddos.lnk");
}
// set Webshell detection (only for advanced security)
if(PHP_WEBSHELL_DETECTION !== false) {
loadHelper("sec-ws.lnk");
}
// set Webshell detection (only for advanced security)
if(PHP_SECURE_CONFIG_CHECK !== false) {
loadHelper("sec-scc.lnk");
// load extensions of user-configured security vendor (advanced security)
if(SECURITY_VENDOR !== false) {
loadHelper("securitytool.lnk");
}