X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/af7e43a4a3bbcb62912eabd75537480bf696b265..871a40df8b73ce50251e2827c1e193902756ddac:/lib/config.original.php?ds=sidebyside diff --git a/lib/config.original.php b/lib/config.original.php index 30ec134..7b1d4ec 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -36,6 +36,7 @@ $cfg['var_root'] = ''; /* Language - choice between 'auto' or any language located in the /lib/locales/ folder. * The mode »auto« will cause the script to detect the user's browser information * and offer a matching language, and use »en« if it is not available. + * Forcing to a specific lang lightly reduce lang computation. */ $cfg['lang'] = 'auto'; @@ -43,6 +44,18 @@ $cfg['lang'] = 'auto'; */ $cfg['style'] = 'courgette'; +/* Name the organisation running this installation, eg. 'ACME' + */ +$cfg['organisation'] = 'ACME'; + +/* Provide a contact person for this installation, eg. 'John Doe ' + */ +$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; @@ -72,6 +85,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. @@ -97,7 +117,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, @@ -131,5 +151,3 @@ $cfg['proxy_ip'] = array(); * or needs to start the installation script */ $cfg['installation_done'] = false; - -?> \ No newline at end of file