This commit is contained in:
Thijs Stobbelaar 2023-11-16 13:49:37 +01:00
parent f7aa530fd3
commit 195ba3a22d

View file

@ -17,6 +17,7 @@
$clanInfoPath = './data/claninfo.json'; $clanInfoPath = './data/claninfo.json';
$clanmembersfile = './config/clanmembers.json'; $clanmembersfile = './config/clanmembers.json';
$clanmembers = json_decode(file_get_contents($clanmembersfile), true); $clanmembers = json_decode(file_get_contents($clanmembersfile), true);
print_r($clanmembers);
if (file_exists($clanInfoPath)) { if (file_exists($clanInfoPath)) {
$clan = json_decode(file_get_contents($clanInfoPath), true); $clan = json_decode(file_get_contents($clanInfoPath), true);
if (isset($clan) && !empty($clan)) { if (isset($clan) && !empty($clan)) {