scratch – Diff between revs 8 and 11
?pathlinks?
Rev 8 | Rev 11 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | <?php |
1 | <?php |
|
Line -... | Line 2... | |||
- | 2 | |
||
- | 3 | ########################################################################### |
||
- | 4 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
- | 5 | ########################################################################### |
||
2 | |
6 | |
|
- | 7 | # Set this to the filesystem to the folder where the files should be |
||
3 | # Set this to the filesystem to the folder where the files should be uploaded. |
8 | # uploaded. |
|
Line 4... | Line 9... | |||
4 | $STORE_FOLDER = '/var/www/incoming/'; |
9 | $STORE_FOLDER = '/var/www/incoming/'; |
|
- | 10 | |
||
5 | |
11 | # Set this to the URL path of the folder where the files can be |
|
- | 12 | # retrieved. |
||
- | 13 | $URL_PATH = 'http://my.tld/incoming/'; |
||
- | 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", |
||
- | 30 | "MP4", |