mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#17 partial
This commit is contained in:
parent
37b9194405
commit
347d9edf72
@ -206,11 +206,7 @@ if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip,
|
||||
// without the gameq value we cannot query. So this results need to be sorted out.
|
||||
if (!in_array($row['gameq'], array('', null, false))) {
|
||||
|
||||
if (in_array($row['gameq'], array('cube2', 'ut', 'ut2004', 'ut3', 'mta'))) {
|
||||
$checkAtIPPort = $row['serverip'] . ':' . $row['port2'];
|
||||
} else {
|
||||
$checkAtIPPort = $row['serverip'] . ':' . $row['port'];
|
||||
}
|
||||
$checkAtIPPort = (in_array($row['gameq'], array('cube2', 'ut', 'ut2004', 'ut3', 'mta'))) ? $row['serverip'] . ':' . $row['port2'] : $row['serverip'] . ':' . $row['port'];
|
||||
|
||||
$serverBatchArray[] = array('id' => $row['id'], 'type' => $row['gameq'], 'host' => $checkAtIPPort);
|
||||
$i++;
|
||||
|
@ -75,7 +75,7 @@ if (isset($_SESSION['sID'])) {
|
||||
}
|
||||
|
||||
$gscount = count($substituteAccess['gs']);
|
||||
$vhostcount = count($substituteAccess['ws']);
|
||||
$vhostcount = count($substituteAccess['wv']);
|
||||
$voicecount = count($substituteAccess['vo']);
|
||||
$tsdnscount = count($substituteAccess['vd']);
|
||||
$dbcount = count($substituteAccess['db']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user