scratch – Diff between revs 44 and 46
?pathlinks?
Rev 44 | Rev 46 | |||
---|---|---|---|---|
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 | |
- | ||
11 | # Temporary editor file shared by all clients. |
- | ||
12 | $SHARED_EDITOR_FILE = 'share.html'; |
- | ||
13 | |
10 | |
|
14 | # Set this to the URL path of the folder where the files can be retrieved. |
11 | # Set this to the URL path of the folder where the files can be retrieved. |
|
15 | $URL_PATH = 'http://my.tld/incoming/'; |
12 | $URL_PATH = 'http://my.tld/incoming/'; |
|
16 | |
13 | |
|
17 | # A list of allowed files by extension that the template will accept. |
14 | # A list of allowed files by extension that the template will accept. |
|
18 | $ALLOWED_FILE_EXTENSIONS = [ |
15 | $ALLOWED_FILE_EXTENSIONS = [ |
|
19 | "PNG", |
16 | "PNG", |
|
20 | "JPG", |
17 | "JPG", |
|
21 | "JPEG", |
18 | "JPEG", |
|
22 | "GIF", |
19 | "GIF", |
|
23 | "TGA", |
20 | "TGA", |
|
24 | "SVG", |
21 | "SVG", |
|
25 | "JP2", |
22 | "JP2", |
|
26 | "JP", |
23 | "JP", |
|
27 | "ZIP", |
24 | "ZIP", |
|
28 | "RAR", |
25 | "RAR", |
|
29 | "GZ", |
26 | "GZ", |
|
30 | "TAR", |
27 | "TAR", |
|
31 | "BZ2", |
28 | "BZ2", |
|
32 | "TXT", |
29 | "TXT", |
|
33 | "CSV", |
30 | "CSV", |
|
34 | "HTML", |
31 | "HTML", |
|
35 | "HTM", |
32 | "HTM", |
|
36 | "DOC", |
33 | "DOC", |
|
37 | "DOCX", |
34 | "DOCX", |
|
38 | "XLS", |
35 | "XLS", |
|
39 | "MP4", |
36 | "MP4", |
|
40 | "MP3" |
37 | "MP3" |
|
41 | ]; |
38 | ]; |
|
42 | |
39 | |
|
43 | |
40 | |