1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 05:37:32 +02:00

Allow flash file uploads

This commit is contained in:
e107steved
2009-10-13 20:50:39 +00:00
parent f5b7907e00
commit d1758cce36

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/upload_handler.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/upload_handler.php,v $
| $Revision: 1.19 $ | $Revision: 1.20 $
| $Date: 2009-09-28 19:07:40 $ | $Date: 2009-10-13 20:50:39 $
| $Author: e107steved $ | $Author: e107steved $
+---------------------------------------------------------------+ +---------------------------------------------------------------+
*/ */
@@ -558,6 +558,7 @@ function vet_file($filename, $target_name, $allowed_filetypes = '', $unknown = F
case '7z' : case '7z' :
case 'csv' : case 'csv' :
case 'wmv' : case 'wmv' :
case 'swf' :
break; // Just accept these break; // Just accept these
case 'php' : case 'php' :