diff options
| author | Markus Birth <markus@birth-online.de> | 2013-04-10 11:39:35 +0200 |
|---|---|---|
| committer | Markus Birth <markus@birth-online.de> | 2013-04-10 11:39:35 +0200 |
| commit | 58fc79ea37435fe7adbbad4314e1b3f442aad714 (patch) | |
| tree | 221afd5e99b77ac750caf658c1a811163d5dfd7e /tests/showmods.php | |
| parent | 60ee6710645c00209131b40074fa87d2c5f52a1b (diff) | |
| download | yafpp-58fc79ea37435fe7adbbad4314e1b3f442aad714.tar.gz yafpp-58fc79ea37435fe7adbbad4314e1b3f442aad714.zip | |
Started parseable mod collection.
Diffstat (limited to 'tests/showmods.php')
| -rw-r--r-- | tests/showmods.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/showmods.php b/tests/showmods.php new file mode 100644 index 0000000..3408435 --- /dev/null +++ b/tests/showmods.php @@ -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; +} |
