Mercurial > dirlist-php
comparison README.md @ 28:ce92f4d41714
Add support for displaying hidden files.
author | edogawaconan <me@myconan.net> |
---|---|
date | Thu, 30 Oct 2014 12:14:32 +0900 |
parents | f9588ccb7a42 |
children | e4f534198385 |
comparison
equal
deleted
inserted
replaced
27:aa3f0003fb41 | 28:ce92f4d41714 |
---|---|
35 try_files $uri @lister; // try_files "" @lister if the alias is | 35 try_files $uri @lister; // try_files "" @lister if the alias is |
36 } | 36 } |
37 | 37 |
38 And done. Probably also works with apache but I have no idea how to set it up. | 38 And done. Probably also works with apache but I have no idea how to set it up. |
39 | 39 |
40 Configurations | |
41 -------------- | |
42 | |
43 Here are some variables which changes how it behaves: | |
44 | |
45 - `DL_DIR`: sets directory to be listed. | |
46 - `DL_SHOWALL`: show or hide files which name start with `.`. Set to `1` to show. | |
47 | |
40 Upgrading | 48 Upgrading |
41 --------- | 49 --------- |
42 | 50 |
43 When upgrading from 1.0.0, update nginx config accordingly. | 51 When upgrading from 1.0.0, update nginx config accordingly. |
44 | 52 |