1
0

Started parseable mod collection.

This commit is contained in:
2013-04-10 11:39:35 +02:00
parent 60ee671064
commit 58fc79ea37
7 changed files with 64 additions and 0 deletions

9
tests/showmods.php Normal file
View File

@ -0,0 +1,9 @@
<?php
$mods = glob('../mods/*.json');
foreach ($mods as $mod) {
$json = file_get_contents($mod);
$data = json_decode($json, true);
echo $mod . ': ' . $data['name'] . PHP_EOL;
}