mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Fix Teamspeak Import (1164)
This commit is contained in:
parent
077f652d66
commit
d6ec8dbc63
@ -273,7 +273,7 @@ if ($ui->st('d', 'get') == 'ad' and is_numeric($licenceDetails['lVo']) and $lice
|
||||
$iniConfigurationMaster = array();
|
||||
$iniConfiguration = array();
|
||||
$customConfigurations = array();
|
||||
|
||||
$rowCount = 0;
|
||||
$iniConfigurationMaster = @parse_ini_string($masterServerData['iniConfiguration'], true, INI_SCANNER_RAW);
|
||||
|
||||
foreach ($iniConfigurationMaster as $groupName => $array) {
|
||||
@ -308,7 +308,7 @@ if ($ui->st('d', 'get') == 'ad' and is_numeric($licenceDetails['lVo']) and $lice
|
||||
$id = $sql->lastInsertId();
|
||||
|
||||
} else {
|
||||
$ts3ErrorCode = 'TS errorcode: ' . $localServerID;
|
||||
$ts3ErrorCode = 'TS errorcode: ' . $localServerID;;
|
||||
}
|
||||
|
||||
$loguseraction = '%add% %voserver% ' . $ip . ':' . $port;
|
||||
|
@ -694,7 +694,7 @@ virtualserver_weblist_enabled 0 = Off';
|
||||
|
||||
$adminList = $connection->AdminList($virtualserver_id);
|
||||
|
||||
if (is_array($adminList)) {
|
||||
if (is_array($adminList) and count($adminList) > 0) {
|
||||
foreach ($adminList as $cldbid => $client_unique_identifier) {
|
||||
$userlist .= $cldbid . ':' . $client_unique_identifier . '|';
|
||||
}
|
||||
|
@ -534,10 +534,6 @@ class TS3 {
|
||||
);
|
||||
}
|
||||
|
||||
if ($server['virtualserver_status'] == 'offline') {
|
||||
$this->StopServer($virtualserver_id);
|
||||
}
|
||||
|
||||
if (!isset($serverdetails[$virtualserver_id])) {
|
||||
$virtualserver_ip = (isset($virtualserver_ip)) ? $virtualserver_ip :'';
|
||||
$virtualserver_dns = (isset($virtualserver_dns)) ? $virtualserver_dns :'';
|
||||
|
@ -1702,4 +1702,10 @@ $(function() {
|
||||
}
|
||||
return [$head, $content];
|
||||
}
|
||||
|
||||
function __debug($pre){
|
||||
echo "<pre>";
|
||||
print_r($pre);
|
||||
echo "</pre>";
|
||||
}
|
||||
}
|
@ -7,7 +7,7 @@
|
||||
<li class="active"><?php echo $gsprache->add.'/'.$sprache->import;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-success">
|
||||
|
Loading…
x
Reference in New Issue
Block a user