From 8d91c0b3ab446d15d8e9af9f6adac00d5774b738 Mon Sep 17 00:00:00 2001 From: Lanta 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)) {