This commit is contained in:
Thijs Stobbelaar 2023-11-14 19:52:25 +01:00
parent c22ff51bbc
commit 27613a14b0

View file

@ -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)) {