切换服务器ipv6地址
This commit is contained in:
parent
89688944ad
commit
f80820374c
|
@ -12,7 +12,7 @@
|
||||||
}else{
|
}else{
|
||||||
$onlineip=$_SERVER['REMOTE_ADDR'];
|
$onlineip=$_SERVER['REMOTE_ADDR'];
|
||||||
}
|
}
|
||||||
if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::401')
|
if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::9')
|
||||||
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::401')
|
if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006::9')
|
||||||
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