Update security.php

This commit is contained in:
Namhyeon Go 2018-09-24 05:52:46 +09:00 committed by GitHub
parent 3a2259e08f
commit 0154bf7d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -574,8 +574,8 @@ if(!function_exists("get_generated_name")) {
}
}
if(!function_exists("check_redirect_domain")) {
function check_redirect_domain($url) {
if(!function_exists("check_redirect_origin")) {
function check_redirect_origin($url) {
$flag = false;
$to_resource = parse_url($url);