mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 18:13:55 +02:00
Adding maximal number of files per bundle
This commit is contained in:
parent
8dd4abed11
commit
ab871f4377
2 changed files with 2 additions and 0 deletions
|
@ -7,5 +7,6 @@ APP_URL=http://localhost
|
||||||
TIMEZONE=Europe/London
|
TIMEZONE=Europe/London
|
||||||
LOCALE=en
|
LOCALE=en
|
||||||
STORAGE_PATH=.
|
STORAGE_PATH=.
|
||||||
|
UPLOAD_MAX_FILES=100
|
||||||
UPLOAD_MAX_FILESIZE=50M
|
UPLOAD_MAX_FILESIZE=50M
|
||||||
UPLOAD_LIMIT_IPS=
|
UPLOAD_LIMIT_IPS=
|
||||||
|
|
|
@ -85,6 +85,7 @@ In order to configure your application, copy the .env.example file into .env. Th
|
||||||
| `TIMEZONE` | change this to your current timezone |
|
| `TIMEZONE` | change this to your current timezone |
|
||||||
| `LOCALE` | change this to "fr" or "en" |
|
| `LOCALE` | change this to "fr" or "en" |
|
||||||
| `STORAGE_PATH` | (*optional*) changes this wherever you want to store the files. When missing, using the `storage` folder at the root of the application |
|
| `STORAGE_PATH` | (*optional*) changes this wherever you want to store the files. When missing, using the `storage` folder at the root of the application |
|
||||||
|
| `UPLOAD_MAX_FILES` | (*optional*) maximal number of files per bundle |
|
||||||
| `UPLOAD_MAX_FILESIZE` | (*optional*) change this to the value you want (K, M, G, T, ...). Attention : you must configure your PHP settings too (`post_max_size`, `upload_max_filesize` and `memory_limit`). When missing, using PHP lowest configuration |
|
| `UPLOAD_MAX_FILESIZE` | (*optional*) change this to the value you want (K, M, G, T, ...). Attention : you must configure your PHP settings too (`post_max_size`, `upload_max_filesize` and `memory_limit`). When missing, using PHP lowest configuration |
|
||||||
| `UPLOAD_LIMIT_IPS` | (*optional*) a comma separated list of IPs from which you may upload files. Different formats are supported : Full IP address (192.168.10.2), Wildcard format (192.168.10.*), CIDR Format (192.168.10/24 or 1.2.3.4/255.255.255.0) or Start-end IP (192.168.10.0-192.168.10.10). When missing, filtering is disabled. |
|
| `UPLOAD_LIMIT_IPS` | (*optional*) a comma separated list of IPs from which you may upload files. Different formats are supported : Full IP address (192.168.10.2), Wildcard format (192.168.10.*), CIDR Format (192.168.10/24 or 1.2.3.4/255.255.255.0) or Start-end IP (192.168.10.0-192.168.10.10). When missing, filtering is disabled. |
|
||||||
| `APP_NAME` | the title of the application |
|
| `APP_NAME` | the title of the application |
|
||||||
|
|
Loading…
Add table
Reference in a new issue