X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/2b10abd17f88ba23817bf28840a0f44da74bf362..ebcb7402a9776c5881fbba4d1d60ad50e41a097d:/lib/config.original.php?ds=sidebyside

diff --git a/lib/config.original.php b/lib/config.original.php
index cd39bb3..913f3ac 100644
--- a/lib/config.original.php
+++ b/lib/config.original.php
@@ -51,6 +51,10 @@ $cfg['organisation'] = 'ACME';
  */
 $cfg['contactperson'] = '';
 
+/* Give the installation a title, eg. 'Datahub' or 'John Doe Filehost'
+ */
+$cfg['title'] = '';
+
 /* Propose a preview link if file type is previewable
  */
 $cfg['preview'] = true;
@@ -80,6 +84,13 @@ $cfg['upload_password'] = array();
  */
 $cfg['upload_ip'] = array();
 
+/* List of IP allowed to upload a file without password.
+ * Elements of the list can be a single IP (e.g. "123.45.67.89") or
+ * an IP range (e.g. "123.45.0.0/16").
+ * Note that CIDR notation is available for IPv4 only for the moment.
+ */
+$cfg['upload_ip_nopassword'] = array();
+
 /* Password for the admin interface.
  * An empty password will disable the password authentification.
  * The password is a sha256 hash of the original version.
@@ -105,7 +116,7 @@ $cfg['admin_http_auth_user'] = '';
  * 'year': file available for one year
  * 'none': unlimited availability
  */
-$cfg['availabilities'] = array (
+$cfg['availabilities'] = array(
     'minute' => true,
     'hour' => true,
     'day' => true,
@@ -139,5 +150,3 @@ $cfg['proxy_ip'] = array();
  * or needs to start the installation script
  */
 $cfg['installation_done'] = false;
-
-?>
\ No newline at end of file