From 7bcb97308715edd4bb31aad536e569e6eab07376 Mon Sep 17 00:00:00 2001 From: Mario <100047175+Mariopizza1@users.noreply.github.com> Date: Tue, 14 Feb 2023 10:06:48 +0200 Subject: [PATCH] Update config.php --- core/config.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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"] ];