X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/e9b6d76a51c3fb14ce5a88ecc1198887270b7622..5bd3412d378c6de75c36737b5fd93eb214945469:/lib/config.original.php diff --git a/lib/config.original.php b/lib/config.original.php index c666d03..1543089 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -108,6 +108,14 @@ $cfg['admin_password'] = ''; */ $cfg['admin_http_auth_user'] = ''; +/* List of IP allowed to access the admin interface. + * If the list is empty, then there is no admin interface restriction based on IP. + * 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['admin_ip'] = array(); + /* Allow user to select different options for file expiration time. * Possible values in array: * 'minute': file is available for one minute