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