服务器列表顺序取消修改
This commit is contained in:
@@ -343,16 +343,15 @@ function ip_repeat(&$record, $ip, $dns = '')
|
|||||||
|
|
||||||
function city_exist($citys, $city)
|
function city_exist($citys, $city)
|
||||||
{
|
{
|
||||||
return $city;
|
for ($i = 1; $i < 100; $i++) {
|
||||||
// for ($i = 2; $i < 100; $i++) {
|
if (in_array($city, $citys)) {
|
||||||
// if (in_array($city, $citys)) {
|
if (in_array($city . $i, $citys)) {
|
||||||
// if (in_array($city . $i, $citys)) {
|
continue;
|
||||||
// continue;
|
} else {
|
||||||
// } else {
|
return $city . $i;
|
||||||
// return $city . $i;
|
}
|
||||||
// }
|
} else {
|
||||||
// } else {
|
return $city;
|
||||||
// return $city;
|
}
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user