1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

Add .rar, .7z to 'known' file extensions

This commit is contained in:
e107steved
2007-07-08 20:58:24 +00:00
parent 7f427f8ff8
commit 560352ef35

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/upload_handler.php,v $
| $Revision: 1.4 $
| $Date: 2007-07-01 21:12:22 $
| $Revision: 1.5 $
| $Date: 2007-07-08 20:58:24 $
| $Author: e107steved $
+---------------------------------------------------------------+
*/
@@ -234,6 +234,8 @@ function vet_file($filename, $target_name, $allowed_filetypes = '', $unknown = F
case 'tar' :
case 'bzip' :
case 'pdf' :
case 'rar' :
case '7z' :
break; // Just accept these
case 'php' :