scratch – Diff between revs 46 and 48

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