From 5c14884de5823b6f5b09b3b17ffd56fcb18056c7 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 29 Oct 2019 20:46:35 +0100 Subject: [PATCH] correctly displaing indev version --- shared/html/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/html/index.php b/shared/html/index.php index 61935895..d424a21f 100644 --- a/shared/html/index.php +++ b/shared/html/index.php @@ -3,7 +3,7 @@ ini_set('display_startup_errors', 1); error_reporting(E_ALL); - $WEB_CLIENT = (!isset($CLIENT) || !$CLIENT) && http_response_code() !== false || (defined("WEB_CLIENT") && WEB_CLIENT); + $WEB_CLIENT = (!isset($CLIENT) || !$CLIENT) && http_response_code() !== false || WEB_CLIENT; $localhost = false; if(gethostname() == "WolverinDEV") $localhost = true; @@ -49,8 +49,8 @@ spawn_property('connect_default_host', $localhost ? "localhost" : "ts.TeaSpeak.de"); spawn_property('localhost_debug', $localhost ? "true" : "false"); - if(defined("WEB_CLIENT") && WEB_CLIENT) { - $version = "000000"; + if(WEB_CLIENT) { + $version = "0000000"; } else { $version = file_get_contents("./version"); if ($version === false)