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"; }