scratch – Diff between revs 11 and 15
?pathlinks?
Rev 11 | Rev 15 | |||
---|---|---|---|---|
1 | <?php |
1 | <?php |
|
2 | |
2 | |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
4 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
4 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
5 | ########################################################################### |
5 | ########################################################################### |
|
6 | |
6 | |
|
7 | # Set this to the filesystem to the folder where the files should be |
7 | # Set this to the filesystem to the folder where the files should be |
|
8 | # uploaded. |
8 | # uploaded. |
|
9 | $STORE_FOLDER = '/var/www/incoming/'; |
9 | $STORE_FOLDER = '/var/www/incoming/'; |
|
10 | |
10 | |
|
11 | # Set this to the URL path of the folder where the files can be |
11 | # Set this to the URL path of the folder where the files can be |
|
12 | # retrieved. |
12 | # retrieved. |
|
13 | $URL_PATH = 'http://my.tld/incoming/'; |
13 | $URL_PATH = 'http://my.tld/incoming/'; |
|
14 | |
14 | |
|
15 | # A list of allowed files by extension that the template will accept. |
15 | # A list of allowed files by extension that the template will accept. |
|
16 | $ALLOWED_FILE_EXTENSIONS = [ |
16 | $ALLOWED_FILE_EXTENSIONS = [ |
|
17 | "PNG", |
17 | "PNG", |
|
18 | "JPG", |
18 | "JPG", |
|
19 | "JPEG", |
19 | "JPEG", |
|
20 | "GIF", |
20 | "GIF", |
|
21 | "TGA", |
21 | "TGA", |
|
22 | "SVG", |
22 | "SVG", |
|
23 | "JP2", |
23 | "JP2", |
|
24 | "JP", |
24 | "JP", |
|
25 | "ZIP", |
25 | "ZIP", |
|
26 | "RAR", |
26 | "RAR", |
|
27 | "GZ", |
27 | "GZ", |
|
28 | "TAR", |
28 | "TAR", |
|
29 | "BZ2", |
29 | "BZ2", |
|
- | 30 | "TXT", |
||
- | 31 | "CSV", |
||
- | 32 | "DOC", |
||
- | 33 | "DOCX", |
||
- | 34 | "XLS", |
||
30 | "MP4", |
35 | "MP4", |
|
31 | "MP3" |
36 | "MP3" |
|
32 | ]; |
37 | ]; |
|
33 | |
38 | |