It looks like you're new here. If you want to get involved, click one of these buttons!
'pub' => 'application/x-mspublisher'I've also added the following to MY_fuel.php
I've also added the following to my templates_model.php file
$config['editable_asset_filetypes'] = array(
'images' => 'jpg|jpeg|jpe|gif|png|psd|ai|pdf|eps|ps|xls|ppt|tiff|tif|doc|docx|indd|inx|pub',
'pdf' => 'pdf',
'templates' => 'psd|ai|pdf|eps|ps|xls|ppt|jpeg|jpg|jpe|png|tiff|tif|doc|docx|indd|inx|pub',
'media' => 'jpg|jpeg|jpe|png|gif|mov|mp3|aiff|png|psd|ai|pdf|eps|ps|xls|ppt|tiff|tif|doc|docx|indd|inx|pub'
);
Finally I've set the following in MY_fuel_module.php
$fields['file_path_upload'] = array('type' => 'file', 'accept' => 'psd,ai,pdf,eps,ps,xls,ppt,jpeg,pub,jpg,jpe,png,tiff,tif,doc,docx,indd,inx', 'upload_path' => assets_server_path('templates'), 'overwrite' => TRUE);
All the other file types seem to work but for some reason the publisher files return with "The filetype you are attempting to upload is not allowed". Any idea what would cause this one filetype to fail?
$config['modules']['templates'] = array(
'sanitize_images' => FALSE, // to prevent false positives with xss_clean image sanitation
'sanitize_input' => FALSE
);
Comments
Thank you,
Brandon Boswell