Commit 2404740b authored by wwccw0591's avatar wwccw0591

tes

parent ceca626d
......@@ -6,10 +6,11 @@
return true;
} elseif ( !empty($_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off') {
return true;
}elseif(!empty($_SERVER['X-Forwarded-For'])){
}elseif($_SERVER['SERVER_PORT'] == 443){
return true;
}
return false;
return false;
}
$res=is_https();
if($res){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment