服务器列表顺序取消修改

This commit is contained in:
“wanyongkang”
2023-10-23 17:10:36 +08:00
parent c6076b2ba7
commit 6fa39457b0

View File

@@ -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; }
// } }
// }
} }