修改241服务器的ipv6地址
This commit is contained in:
parent
3b5541708b
commit
c9c7848bed
|
@ -12,7 +12,7 @@
|
||||||
}else{
|
}else{
|
||||||
$onlineip=$_SERVER['REMOTE_ADDR'];
|
$onlineip=$_SERVER['REMOTE_ADDR'];
|
||||||
}
|
}
|
||||||
if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006:0:214:22ff:fe08:d277')
|
if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::401')
|
||||||
die("error! You are not permitted to visit this page.".$onlineip);
|
die("error! You are not permitted to visit this page.".$onlineip);
|
||||||
//文件生成
|
//文件生成
|
||||||
$onlineappid=(int)@$_GET['onlineappid'];
|
$onlineappid=(int)@$_GET['onlineappid'];
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
}else{
|
}else{
|
||||||
$onlineip=$_SERVER['REMOTE_ADDR'];
|
$onlineip=$_SERVER['REMOTE_ADDR'];
|
||||||
}
|
}
|
||||||
if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006:0:214:22ff:fe08:d277')
|
if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006::401')
|
||||||
die("error! You are not permitted to visit this page.".$onlineip);
|
die("error! You are not permitted to visit this page.".$onlineip);
|
||||||
//文件生成
|
//文件生成
|
||||||
$uuid=$_GET['uuid'];
|
$uuid=$_GET['uuid'];
|
||||||
|
|
Loading…
Reference in New Issue