diff options
Diffstat (limited to 'en')
-rw-r--r-- | en/downloads/get/definitions.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/en/downloads/get/definitions.php b/en/downloads/get/definitions.php new file mode 100644 index 000000000..28f2fa653 --- /dev/null +++ b/en/downloads/get/definitions.php @@ -0,0 +1,18 @@ +<?php + +$ini = parse_ini_file('definitions.ini', true); + +foreach ($ini as $section => $values) { + + echo '<section><h2>', $section, '</h2>'; + echo sprintf('<section><h2>%s</h2><ul><li><code>%s</code></li><li>%s</li></section>', + $values['name'], + '$MIRROR/' . $values['path'] . $values['file'], + $values['size'] + ); + + echo '<ul>'; + foreach ($values as $k => $v) + echo '<li>', $k, ' = ', $v, '</li>'; + echo '</ul></section>'; +}
\ No newline at end of file |