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")) {
|
||||
function check_redirect_domain($url) {
|
||||
if(!function_exists("check_redirect_origin")) {
|
||||
function check_redirect_origin($url) {
|
||||
$flag = false;
|
||||
|
||||
$to_resource = parse_url($url);
|
||||
|
|
Loading…
Reference in New Issue
Block a user