From ec08bc05908184d91764592b5177d3cbcadf7ab5 Mon Sep 17 00:00:00 2001 From: Austin Date: Tue, 16 Nov 2021 04:56:37 -0500 Subject: [PATCH] misc fixes --- globals/config.php | 2 -- html/Game/ClientPresence.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/globals/config.php b/globals/config.php index a0d9d51..38360cc 100644 --- a/globals/config.php +++ b/globals/config.php @@ -178,8 +178,6 @@ try $accesseddirectory != "/Game/Negotiate.ashx" && $accesseddirectory != "/asset/index.php" && $accesseddirectory != "/settings/resetpassword.php" && - //$accesseddirectory != "/Game/Join.ashx" && - //$accesseddirectory != "/Game/PlaceLauncher.ashx" && $accesseddirectory != "/secret/localtesting.php") { //for local client testing, doesn't contain anything sensitive redirect($url); } diff --git a/html/Game/ClientPresence.php b/html/Game/ClientPresence.php index 36ba7a3..e79068a 100644 --- a/html/Game/ClientPresence.php +++ b/html/Game/ClientPresence.php @@ -130,7 +130,7 @@ else if ($action == "connect") $new_visit = true; } - if (new_visit) + if ($new_visit) { $setgamevisit = $pdo->prepare("UPDATE assets SET Visited = (Visited + 1) WHERE id = :g"); $setgamevisit->bindParam(":g", $placeid, PDO::PARAM_INT);