data sub
This commit is contained in:
parent
27613a14b0
commit
12709750f7
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
// Check if a match ID is provided in the GET request
|
// Check if a match ID is provided in the GET request
|
||||||
if (isset($_GET['matchid'])) {
|
if (isset($_GET['matchid'])) {
|
||||||
$matchId = $_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
|
// Check if the JSON file for the given match ID exists
|
||||||
if (file_exists($filename)) {
|
if (file_exists($filename)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue