From 16d28d6a00c1315c7f56f8301fd2acb422dc7e48 Mon Sep 17 00:00:00 2001 From: Mario <100047175+Mariopizza1@users.noreply.github.com> Date: Mon, 22 May 2023 13:21:55 +0300 Subject: [PATCH] Update config.php --- core/config.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/core/config.php b/core/config.php index 2debd75..5fd0b19 100644 --- a/core/config.php +++ b/core/config.php @@ -1,10 +1,11 @@ "GruBlox", "host" => "localhost", "port" => 3306, @@ -15,7 +16,7 @@ $sql = [ $settings = file_get_contents(dirname(__DIR__).'/settings.json'); $settings = json_decode($settings, true); //daily pay aka mone -$pay = $settings['pay']; +$pay = $settings['pay']; // we shouldn't do this // mentanacne jfdsdfj omg dont enable if not needed ok? thank. $maintenance = $settings['maintenance']; @@ -53,7 +54,7 @@ if($devmode) { // if ur gonna use the availablegameservers array please pick a random gameserver from the array or else we would put all stress on 1 gameserver $AvailableGameservers = [ - "127.0.0.1" + 1 => "192.168.1.131" // my local ip ]; // No ports? NO BITCHES // default is 64989 NOOB @@ -69,7 +70,8 @@ $soapIp = $AvailableGameservers[array_rand($AvailableGameservers,1)]; $soapcfg = [ "ip" => $soapIp, "port" => 64989, - "usehttps" => 'false' + "usehttps" => 'false', + "url" => "sierraf.tk" // pls don't remove ]; if ($soapcfg["usehttps"] == 'true') { @@ -105,4 +107,5 @@ try { unset($sql); } catch (PDOException $e) { die("Connection failed: " . $e->getMessage()); -} \ No newline at end of file +} +?>