| | |
| | | unset($pack_data["multiservers"]); |
| | | unset($pack_data["server_select_all"]); |
| | | |
| | | $UserAccount = $_SESSION['UserAccount']; |
| | | \CommFunc\GetConfig("ServerInfo", "SpecialServerIDStart", $SpecialServerIDStart); |
| | | \CommFunc\GetConfig("ServerInfo", "SpecialAccountList", $SpecialAccountList); |
| | | $SpecialAccountList = explode(",", $SpecialAccountList); |
| | | $SpecialServerIDStart = intval($SpecialServerIDStart); |
| | | $isSpecialUser = in_array($UserAccount, $SpecialAccountList); |
| | | |
| | | $pack_data["spID"] = $user->GetSPID(); |
| | | $pack_data["lang"] = \Lang\getLang(); |
| | | for ($i = 0; $i < count($sendServers); $i++) { |
| | |
| | | $pack_data["mixServerIDInfo"] = $serversArray[$serverName]["ServerID"]; |
| | | } |
| | | $pack_data["serverID"] = $serversArray[$serverName]["ServerID"]; |
| | | if ($isSpecialUser) { // 特殊账号默认只查本服ID |
| | | $pack_data["OnlyServerID"] = $pack_data["serverID"]; |
| | | } |
| | | $sendServers[$i][2] = $pack_data; |
| | | } |
| | | |