From 27613a14b0d26b6bab0d9652be4290db5612c9e3 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Tue, 14 Nov 2023 19:52:25 +0100 Subject: [PATCH] folder --- matchinfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matchinfo.php b/matchinfo.php index 0a6ee08..461a475 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -2,7 +2,7 @@ // Check if a match ID is provided in the GET request if (isset($_GET['matchid'])) { $matchId = $_GET['matchid']; - $filename = $matchId . ".json"; + $filename = "matches/" . $matchId . ".json"; // Check if the JSON file for the given match ID exists if (file_exists($filename)) {