]> git.lizzy.rs Git - dirlistozxa.git/commitdiff
Add README
authorROllerozxa <rollerozxa@voxelmanip.se>
Wed, 5 Apr 2023 12:46:54 +0000 (14:46 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 12:46:54 +0000 (14:46 +0200)
README.md [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..ffe94a3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+# `dirlistozxa`\r
+A simple directory lister script in PHP that will show the files and directories in a directory, along with their modification date and size.\r
+\r
+To set up, set the PHP file to be the index file, if no `index.html` or `index.php` exists in the directory. An example for nginx would be:\r
+\r
+```nginx\r
+index index.html index.php /dirlistozxa.php;\r
+```\r