scratch – Blame information for rev
?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 | |||
48 | office | 11 | # The size of the asset hash generated when uploading. |
12 | $ASSET_HASH_SIZE = 8; |
||
13 | |||
28 | office | 14 | # Set this to the URL path of the folder where the files can be retrieved. |
8 | office | 15 | $URL_PATH = 'http://my.tld/incoming/'; |
11 | office | 16 | |
17 | # A list of allowed files by extension that the template will accept. |
||
18 | $ALLOWED_FILE_EXTENSIONS = [ |
||
19 | "PNG", |
||
20 | "JPG", |
||
21 | "JPEG", |
||
22 | "GIF", |
||
23 | "TGA", |
||
24 | "SVG", |
||
25 | "JP2", |
||
26 | "JP", |
||
27 | "ZIP", |
||
28 | "RAR", |
||
29 | "GZ", |
||
30 | "TAR", |
||
31 | "BZ2", |
||
15 | office | 32 | "TXT", |
33 | "CSV", |
||
28 | office | 34 | "HTML", |
35 | "HTM", |
||
15 | office | 36 | "DOC", |
37 | "DOCX", |
||
38 | "XLS", |
||
11 | office | 39 | "MP4", |
40 | "MP3" |
||
41 | ]; |
||
28 | office | 42 |