This commit is contained in:
Lanta 2023-11-14 19:54:28 +01:00
parent 8d91c0b3ab
commit 3f0e396302

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 = "matches/" . $matchId . ".json";
$filename = "data/matches/" . $matchId . ".json";
// Check if the JSON file for the given match ID exists
if (file_exists($filename)) {