Hi i just wondering me. in the new drupal 7 alpha 6 i cant upload anymore my site verify *.html files because he said the extension is not allowed.. i search but cant found any option to add .html in the extension
someone has a tip ?
The specified file *.html could not be uploaded. Only files with the following extensions are allowed: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | site_verify-860432.patch | 859 bytes | instanceofjamie |
Comments
Comment #1
instanceofjamie commentedDown to file_save_upload now taking file types as a second parameter.
Here's a patch =)
-- J.
Comment #2
instanceofjamie commentedComment #3
dave reidActually according to the function docs, all we need is:
$validators = array('file_validate_extensions' => array());. I tested that and committed the fix to CVS.http://drupal.org/cvs?commit=406104