Commit 3bcff0e7 authored by zhoujun's avatar zhoujun

分享

parent f6bf932f
Pipeline #1560 passed with stage
in 0 seconds
<?php
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
}else {
$ip = $_SERVER['REMOTE_ADDR'];
}
$ips = explode(',',$ip);
if(!in_array($ips[0],['116.227.124.169','116.227.126.145'])){
echo '页面走丢了';
exit();
}
/**
* Laravel - A PHP Framework For Web Artisans
*
......
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