Update config.php

This commit is contained in:
Mario 2023-02-14 10:06:48 +02:00 committed by GitHub
parent f00dbe6530
commit 7bcb973087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -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"]
]; ];