Commit 0995ade7 authored by zhoujun's avatar zhoujun

调试微信分享

parent 0cec4c37
Pipeline #1554 passed with stage
in 0 seconds
......@@ -5,9 +5,7 @@ if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['REMOTE_ADDR'];
}
print_r(explode(',',$ip));die();
if(!in_array($ip,['116.227.124.169','116.227.126.145'])){
if(!in_array($ip[0],['116.227.124.169','116.227.126.145'])){
echo '页面走丢了';
exit();
}
......
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