From 547dec59522eaef1d4f330c87909876c4014cbef Mon Sep 17 00:00:00 2001 From: Lanta Date: Wed, 15 Nov 2023 14:08:30 +0100 Subject: [PATCH] data --- matchinfo.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/matchinfo.php b/matchinfo.php index b395a0d..2a3828e 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -59,9 +59,13 @@ $lastMatches = array_slice($allMatches, 0, 8); if (isset($_GET['matchid'])) { $matchId = $_GET['matchid']; $filename = "data/matches/" . $matchId . ".json"; - $directory = 'killstats/'; + + $directory = 'data/killstats/'; $prefix = $matchdata['id']; $files = glob($directory . $prefix . '*'); + echo $prefix; + echo $directory; + echo $files foreach ($files as $file) { echo $file . "\n"; }