]> git.p6c8.net - jirafeau/pcanterino.git/blobdiff - lib/config.original.php
Jirafeau 4.8.0 is ready
[jirafeau/pcanterino.git] / lib / config.original.php
index 2be4e52bdb0d51476494f1d6f9d0a938cb8dce32..54be072a05b753f468ba7c3f1e42f6caf95d7700 100644 (file)
@@ -172,8 +172,10 @@ $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');
+ * Extensions are matched case-insensitively; a leading dot is optional.
+ * Compound extensions such as 'tar.gz' are supported. Note that 'gz'
+ * also covers 'tar.gz', while 'tar.gz' leaves plain '.gz' files allowed.
+ * $cfg['disallowed_extensions'] = array('exe', 'bat', 'sh', 'php', 'tar.gz');
  */
 $cfg['disallowed_extensions'] = array();
 

patrick-canterino.de