]>
Commit | Line | Data |
---|---|---|
2f98035a | 1 | <?php |
2239bd05 PAB |
2 | //This is the configuration file for Uguu Temp File Sharing system |
3 | define("CONFIG_ROOT_URL", "http://path.to.uguu"); | |
ecaf2084 GJ |
4 | //Enable this if you use a subdomain for serving uploaded files |
5 | define("CONFIG_SUBUPLOAD_URL_ENABLED", "false"); | |
6 | //Only define this if the above is set to true | |
7 | define("CONFIG_SUBUPLOAD_URL", "http://a.uguu.se"); | |
8 | //Path to uploaded files | |
2239bd05 PAB |
9 | define("CONFIG_FILES_PATH", "/path/to/uguu/public/files/"); |
10 | define("CONFIG_ROOT_PATH", "/path/to/uguu/"); | |
11 | define("CONFIG_MAX_RETENTION_TIME", "60"); //Max retention time in minutes | |
8f66c23e PAB |
12 | define("CONFIG_MAX_RETENTION_TEXT", "1 hour"); //Max retention time as a text to be displayed |
13 | define("CONFIG_RANDOM_LENGTH", "12"); //Length of the random chain appended to the filename | |
2239bd05 | 14 | define ("CONFIG_BLOCKED_EXTENSIONS", serialize(array("exe", "scr", "rar", "zip", "com", "vbs", "bat", "cmd", "html", "htm", "msi"))); |
01552dad GJ |
15 | //https://wiki.gentoo.org/wiki/Handbook to set this string correctly |
16 | define("VERYLO_NG_STRING_THATDOESNTREALLYD_O_ANYTHING", "ok"); |