diff --git a/core/config.php b/core/config.php index 9c01cc2..24ac859 100644 --- a/core/config.php +++ b/core/config.php @@ -35,11 +35,18 @@ MIICXQIBAAKBgQDhO7uhMz3jBLoSB/SHWhnE5tVxn7P6BlirPVrZEWVUxjyC5ybhZpyjL/r6KBlvhgyn $soapIp = $AvailableGameservers[array_rand($AvailableGameservers,1)]; $soapcfg = [ - "ip" => $soapIp, + "ip" => $AvailableGameservers[1], "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 = [ "url" => "https://".$_SERVER["HTTP_HOST"] ];