]> jfr.im git - uguu.git/blobdiff - includes/config.template.php
Adding options in the config file
[uguu.git] / includes / config.template.php
index 5d47d2ea961c6bf8dfb48ffa89fbd3a1ec74cb2f..4178ee2a338687e98ab60f3dabf5e651d1596b18 100644 (file)
@@ -1,6 +1,9 @@
 <?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");
+define("CONFIG_FILES_PATH", "/path/to/uguu/public/files/");
+define("CONFIG_ROOT_PATH", "/path/to/uguu/");
+define("CONFIG_MAX_RETENTION_TIME", "60"); //Max retention time in minutes
+define("CONFIG_MAX_RETENTION_TEXT", "1 hour"); //Max retention time as a text to be displayed
+define("CONFIG_RANDOM_LENGTH", "12"); //Length of the random chain appended to the filename
+define ("CONFIG_BLOCKED_EXTENSIONS", serialize(array("exe", "scr", "rar", "zip", "com", "vbs", "bat", "cmd", "html", "htm", "msi")));