X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/249f5f73101449bcda4b4fdcbc549946f0d938c5..ed3bee3909beebe001c17710a5208ef8015a1665:/lib/config.original.php diff --git a/lib/config.original.php b/lib/config.original.php index 37c87eb..2be4e52 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -170,6 +170,13 @@ $cfg['one_time_download_preselected'] = false; */ $cfg['maximal_upload_size'] = 0; +/* Forbid specific file extensions from being uploaded. + * Leave empty to allow every extension. + * Extensions are matched case-insensitively and without the leading dot. + * $cfg['disallowed_extensions'] = array('exe', 'bat', 'sh', 'php'); + */ +$cfg['disallowed_extensions'] = array(); + /* Proxy IP * If the installation is behind some reverse proxies, it is possible to set * the allowed proxy IP.