summaryrefslogtreecommitdiffstats
path: root/external/tgz/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'external/tgz/list.php')
-rw-r--r--external/tgz/list.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/external/tgz/list.php b/external/tgz/list.php
deleted file mode 100644
index 5c8d1c67..00000000
--- a/external/tgz/list.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/*
-echo '[';
-
-$first = true;
-foreach (glob('./*.tgz') as $file) {
- if (!$first) echo ', ';
- $first = false;
- echo ' { "file" : "' . basename($file) . '", "description" : "<Beschreibung>" }';
-}
-echo ' ]';
-*/
-
-$files = array();
-foreach (glob('./*.tgz') as $file) {
- $files[] = array(
- 'file' => basename($file),
- 'description' => 'Eine sinnvolle Beschreibung'
- );
-}
-
-echo json_encode($files);
-