Update config.php
This commit is contained in:
parent
f00dbe6530
commit
7bcb973087
|
|
@ -35,11 +35,18 @@ MIICXQIBAAKBgQDhO7uhMz3jBLoSB/SHWhnE5tVxn7P6BlirPVrZEWVUxjyC5ybhZpyjL/r6KBlvhgyn
|
||||||
$soapIp = $AvailableGameservers[array_rand($AvailableGameservers,1)];
|
$soapIp = $AvailableGameservers[array_rand($AvailableGameservers,1)];
|
||||||
|
|
||||||
$soapcfg = [
|
$soapcfg = [
|
||||||
"ip" => $soapIp,
|
"ip" => $AvailableGameservers[1],
|
||||||
"port" => 64989,
|
"port" => 64989,
|
||||||
"url" => "sierraf.tk"
|
"url" => "sierraf.tk",
|
||||||
|
"usehttps" => 'false'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if ($soapcfg["usehttps"] == 'true') {
|
||||||
|
$soapcfg["usehttps"] = 'https://';
|
||||||
|
} else if ($soapcfg["usehttps"] == 'false') {
|
||||||
|
$soapcfg["usehttps"] = 'http://';
|
||||||
|
}
|
||||||
|
|
||||||
$site = [
|
$site = [
|
||||||
"url" => "https://".$_SERVER["HTTP_HOST"]
|
"url" => "https://".$_SERVER["HTTP_HOST"]
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue