Allowing filetypes to upload
I recently tried to allow our client to upload CSV and ZIP files by adding them to $config['editable_asset_filetypes'] in my MY_fuel.php file in the config folder. I thought I had gotten it working but now I cannot upload regular images (PNG and JPG). They are listed in the allowed file types (I'll paste the whole code below) so why would they now not be uploadable? I now get this error:
You cannot select a .jpg file.
When I take the editable_asset_filetypes and it goes back to default I am able to upload images again. Was there another area I needed to adjust once adding this?
// specifies what filetype extensions can be included in the folders
$config['editable_asset_filetypes'] = array(
'images' => 'jpg|jpeg|jpe|gif|png|zip',
'pdf' => 'pdf|csv|zip',
'media' => 'mov|mp3|aiff|mpeg|csv|zip',
'assets' => 'jpg|jpeg|jpe|png|gif|mov|mpeg|mp3|wav|aiff|pdf|css|csv|zip'