]> jfr.im git - uguu.git/blobdiff - includes/config.template.php
Update check.sh
[uguu.git] / includes / config.template.php
index 5d47d2ea961c6bf8dfb48ffa89fbd3a1ec74cb2f..28c74144adb00a1fc1a9fc719ffac33643bd92fb 100644 (file)
@@ -1,6 +1,21 @@
 <?php
-#This is the configuration file for Uguu Temp File Sharing system
-define('CONFIG_ROOT_URL', "http://path.to.uguu");
-define('CONFIG_FILES_PATH', "/path/to/uguu/public/files/");
-define('CONFIG_ROOT_PATH', "/path/to/uguu/");
-define('CONFIG_RANDOM_LENGTH', "10");
+//This is the configuration file for Uguu Temp File Sharing system
+define("CONFIG_ROOT_URL", "http://path.to.uguu");
+//Enable this if you use a subdomain for serving uploaded files
+define("CONFIG_SUBUPLOAD_URL_ENABLED", "false");
+//Only define this if the above is set to true
+define("CONFIG_SUBUPLOAD_URL", "http://a.uguu.se");
+//Path to uploaded files
+define("CONFIG_FILES_PATH", "/path/to/uguu/public/files/");
+//Path to Uguu's files
+define("CONFIG_ROOT_PATH", "/path/to/uguu/");
+//Max retention time in minutes
+define("CONFIG_MAX_RETENTION_TIME", "60");
+//Max retention time as a text to be displayed
+define("CONFIG_MAX_RETENTION_TEXT", "1 hour");
+//Length of the random chain appended to the filename
+define("CONFIG_RANDOM_LENGTH", "12");
+//This is the list of blocked extensions, you can remove extensions or add to this list as you like
+define ("CONFIG_BLOCKED_EXTENSIONS", serialize(array("exe", "scr", "rar", "zip", "com", "vbs", "bat", "cmd", "html", "htm", "msi", "php", "php5")));
+//https://wiki.gentoo.org/wiki/Handbook to set this string correctly, or just ignore it
+define("VERYLO_NG_STRING_THATDOESNTREALLYD_O_ANYTHING", "ok");