Update security.php
This commit is contained in:
parent
3a2259e08f
commit
0154bf7d7f
|
|
@ -574,8 +574,8 @@ if(!function_exists("get_generated_name")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!function_exists("check_redirect_domain")) {
|
if(!function_exists("check_redirect_origin")) {
|
||||||
function check_redirect_domain($url) {
|
function check_redirect_origin($url) {
|
||||||
$flag = false;
|
$flag = false;
|
||||||
|
|
||||||
$to_resource = parse_url($url);
|
$to_resource = parse_url($url);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user