加入ipv6判断
This commit is contained in:
parent
8501d5771a
commit
a65487989d
|
@ -12,8 +12,8 @@
|
|||
}else{
|
||||
$onlineip=$_SERVER['REMOTE_ADDR'];
|
||||
}
|
||||
if ($onlineip!='210.77.68.241')
|
||||
die("error! You are not permitted to visit this page.");
|
||||
if ($onlineip!='210.77.68.241' && $onlineip!='2002:d248:5070:4:214:22ff:fe08:d277')
|
||||
die("error! You are not permitted to visit this page.".$onlineip);
|
||||
//文件生成
|
||||
$onlineappid=(int)@$_GET['onlineappid'];
|
||||
$offlineappid=(int)@$_GET['offlineappid'];
|
||||
|
|
Loading…
Reference in New Issue