aboutsummaryrefslogtreecommitdiffstats
path: root/php/readdir.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 14:21:12 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 14:21:12 +0200
commit1de4d8dea14a9641206cd91613388ee5f228bae5 (patch)
tree368f1ed07d8f9e9ed0d54d2451463c4f6f027fe8 /php/readdir.php
parent10d7e23ca54ca0003e548922d1202f39c841a0db (diff)
downloadfileup-1de4d8dea14a9641206cd91613388ee5f228bae5.tar.gz
front end for readdir
Diffstat (limited to 'php/readdir.php')
-rw-r--r--php/readdir.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/php/readdir.php b/php/readdir.php
index e69de29..b6a1916 100644
--- a/php/readdir.php
+++ b/php/readdir.php
@@ -0,0 +1,3 @@
+<?php
+echo '[ { "name": "file1.txt", "mimetype": "text/plain", "is_directory": false }, { "name": "file2.pdf", "mimetype": "application/pdf", "is_directory": false }, { "name": "dir", "mimetype": "", "is_directory": true } ] ';
+?>