]> git.p6c8.net - jirafeau/pcanterino.git/blobdiff - lib/config.original.php
New configuration option "enable_tos"
[jirafeau/pcanterino.git] / lib / config.original.php
index bfa76af9c6f4332164799d7b263619a1019e5a5f..be5bdb4060078b4a675e72c1d90fe6a79fa09809 100644 (file)
@@ -3,6 +3,7 @@
  *  Jirafeau, your web file repository
  *  Copyright (C) 2008  Julien "axolotl" BERNARD <axolotl@magieeternelle.org>
  *  Copyright (C) 2015  Jerome Jutteau <jerome@jutteau.fr>
  *  Jirafeau, your web file repository
  *  Copyright (C) 2008  Julien "axolotl" BERNARD <axolotl@magieeternelle.org>
  *  Copyright (C) 2015  Jerome Jutteau <jerome@jutteau.fr>
+ *  Copyright (C) 2024  Jirafeau project <https://gitlab.com/jirafeau> (see AUTHORS.md)
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU Affero General Public License as
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU Affero General Public License as
@@ -66,6 +67,10 @@ $cfg['preview'] = true;
  */
 $cfg['enable_crypt'] = false;
 
  */
 $cfg['enable_crypt'] = false;
 
+/* Enable the "Terms of service" page
+ */
+$cfg['enable_tos'] = true;
+
 /* Length of link reference
  */
 $cfg['link_name_length'] = 8;
 /* Length of link reference
  */
 $cfg['link_name_length'] = 8;
@@ -152,6 +157,11 @@ $cfg['availability_default'] = 'month';
  */
 $cfg['one_time_download'] = true;
 
  */
 $cfg['one_time_download'] = true;
 
+/* When set to "true", the checkbox for deleting the file after the first download
+ * is preselected.
+ */
+$cfg['one_time_download_preselected'] = false;
+
 /* Set maximal upload size expressed in MB.
  * »0« means unlimited upload size.
  */
 /* Set maximal upload size expressed in MB.
  * »0« means unlimited upload size.
  */

patrick-canterino.de