X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/2f02bc687a1737289a52d588bef080843874cff9..refs/merge-requests/97/head:/lib/config.original.php?ds=inline diff --git a/lib/config.original.php b/lib/config.original.php index 0d2665c..59bad4e 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -112,8 +112,9 @@ $cfg['admin_http_auth_user'] = ''; * 'hour': file available for one hour * 'day': file available for one day * 'week': file available for one week + * 'fortnight': file is available for two weeks * 'month': file is available for one month - * 'quarter': file is available for three month + * 'quarter': file is available for three months * 'year': file available for one year * 'none': unlimited availability */ @@ -122,6 +123,7 @@ $cfg['availabilities'] = array( 'hour' => true, 'day' => true, 'week' => true, + 'fortnight' => true, 'month' => true, 'quarter' => false, 'year' => false, @@ -157,7 +159,7 @@ $cfg['proxy_ip'] = array(); * By default, files are hashed through md5 but other methods are available. * * Possible values are 'md5', 'md5_outside' and 'random'. - * + * * With 'md5' option, the whole file is hashed through md5. This is the default. * With 'md5_outside', hash is computed using: * - md5 of the first part of the file, @@ -181,6 +183,11 @@ $cfg['file_hash'] = 'md5'; */ $cfg['litespeed_workaround'] = false; +/* Store uploader's IP along with 'link' file. + * Depending of your legislation, you may have to adjust this parameter. + */ +$cfg['store_uploader_ip'] = true; + /* Required flag to test if the installation is already installed * or needs to start the installation script */