diff options
author | Kevin Mandura <webmaster@kevin-mandura.de> | 2024-03-11 00:03:42 +0100 |
---|---|---|
committer | Kevin Mandura <webmaster@kevin-mandura.de> | 2024-03-11 00:03:42 +0100 |
commit | 179cdfc22468da99922a1af520b4395328033db6 (patch) | |
tree | 84ad71870ebafafa06342c5539032108aa58fa94 | |
parent | b6a823bdc47a4e1c97387ec985199db1f5202d91 (diff) | |
download | ktls-website-179cdfc22468da99922a1af520b4395328033db6.tar.gz ktls-website-179cdfc22468da99922a1af520b4395328033db6.zip |
Extend config.example.inc.php options
-rw-r--r-- | includes/config.example.inc.php | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/includes/config.example.inc.php b/includes/config.example.inc.php index b8b8574..c36345e 100644 --- a/includes/config.example.inc.php +++ b/includes/config.example.inc.php @@ -67,17 +67,17 @@ const JS_FILES_VERSION = "0.0.1"; This is important, because redirection is also used by the cookie banner and the language switcher. */ const VALID_REDIRECT_TO_PAGES = [ - "/", "/index", "/index.php", - "/about", "/about.php", - "/contact", "/contact.php", - "/cookies", "/cookies.php", - "/faq", "/faq.php", - "/imprint", "/imprint.php", - "/javascript", "/javascript.php", - "/privacy", "/privacy.php", - "/register", "/register.php", - "/shared-files", "/shared-files/", "/shared-files/index", "/shared-files/index.php", - "/status", "/status.php" + "/", "/index", "/index.php", + "/about", "/about.php", + "/contact", "/contact.php", + "/cookies", "/cookies.php", + "/faq", "/faq.php", + "/imprint", "/imprint.php", + "/javascript", "/javascript.php", + "/privacy", "/privacy.php", + "/register", "/register.php", + "/shared-files", "/shared-files/", "/shared-files/index", "/shared-files/index.php", + "/status", "/status.php" ]; /* Set a fallback language for displaying the website. @@ -178,3 +178,15 @@ const IP_BLOCK_TIMEFRAME = "10"; functionality? */ const IP_BLOCK_MAX_OCCURENCES = "3"; +/* + Shared files page + */ + +/* Prevent all users from uploading new files */ +const DISABLE_FILE_UPLOADS = false; + +/* Define amount of available total disk space (in bytes) as the + minimum to allow new file uploads. If the total disk capacity + drops below the specified value, users can not upload any new + files. */ +const TOTAL_DISK_CAPACITY_MINIMUM = "8589934592"; |