individuel player score match data #116

Merged
OpzekerIT merged 14 commits from dev into main 2023-11-15 14:57:47 +00:00
Showing only changes of commit 3e5c4314be - Show all commits

View file

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