Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Extension "Attachment" need Help (problem with filetype pdf)
Hello,
when i want to upload a pdf-file with the extension "attachment" then i will recive a errormessege ("You are not allowed to upload (Formelsammlung_BWL.PDF) the requested file type: application/x-application")
Greetings
PS:
$Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = array (
'image/gif' => array('gif', 'GIF'),
'image/png' => array('png', 'PNG'),
'image/jpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'),
'image/pjpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'),
'application/pdf' => array('pdf', 'PDF'),
'application/x-pdf' => array('pdf', 'PDF'),
'application/msword' => array('doc', 'DOC', 'rtf', 'RTF'),
'application/zip' => array('zip', 'ZIP'),
'application/x-zip-compressed' => array('zip', 'ZIP'),
'application/octet-stream' => array('rar', 'RAR', 'doc', 'DOC', 'ods', 'ODS', 'odt', 'ODT', 'ttf', 'TTF'),
'application/vnd.ms-excel' => array('xls', 'XLS'),
'application/vnd.ms-powerpoint' => array('ppt', 'PPT', 'pps', 'PPS'),
'text/plain' => array('txt', 'TXT'),
'application/x-gzip' => array('gz', 'GZ', 'tar.gz', 'TAR.GZ'),
'application/download' => array('rar', 'RAR')
);
0
This discussion has been closed.
Comments