]> jfr.im git - uguu.git/blame - includes/config.template.php
Add a whitelist mode
[uguu.git] / includes / config.template.php
CommitLineData
2f98035a 1<?php
2239bd05
PAB
2//This is the configuration file for Uguu Temp File Sharing system
3define("CONFIG_ROOT_URL", "http://path.to.uguu");
ecaf2084
GJ
4//Enable this if you use a subdomain for serving uploaded files
5define("CONFIG_SUBUPLOAD_URL_ENABLED", "false");
6//Only define this if the above is set to true
7define("CONFIG_SUBUPLOAD_URL", "http://a.uguu.se");
8//Path to uploaded files
2239bd05 9define("CONFIG_FILES_PATH", "/path/to/uguu/public/files/");
efba1b37 10//Path to Uguu's files
2239bd05 11define("CONFIG_ROOT_PATH", "/path/to/uguu/");
efba1b37
GJ
12//Max retention time in minutes
13define("CONFIG_MAX_RETENTION_TIME", "60");
14//Max retention time as a text to be displayed
15define("CONFIG_MAX_RETENTION_TEXT", "1 hour");
16//Length of the random chain appended to the filename
17define("CONFIG_RANDOM_LENGTH", "12");
e17b3539
L
18//Operate on a BLACKLIST or a WHITELIST when blocking file extensions
19define("CONFIG_EXTENSION_BLOCKING_MODE", "BLACKLIST");
20//This is the list of blocked extensions in BLACKLIST mode (default mode), you can remove extensions or add to this list as you like
21define("CONFIG_BLOCKED_EXTENSIONS", serialize(array("exe", "scr", "rar", "zip", "com", "vbs", "bat", "cmd", "html", "htm", "msi", "php", "php5")));
22//This is the list of allowed extensions in WHITELIST mode, you can remove extensions or add to this list as you like
23define("CONFIG_ALLOWED_EXTENSIONS", serialize(array("txt", "pdf")));
efba1b37 24//https://wiki.gentoo.org/wiki/Handbook to set this string correctly, or just ignore it
01552dad 25define("VERYLO_NG_STRING_THATDOESNTREALLYD_O_ANYTHING", "ok");