[eluser]beachbum[/eluser]
I just spent a
long time trying to understand why my application would not upload MS Excel files (with a .xls extension). I was not aware of the mimes.php file in the config directory (somewhat new to CI).
Anyway, it seems that there is a typo on the line with the key/value pair for .xls files (.xlsx seems to be associated with the correct mime-type, but I don't own a copy of Office 2007, so I couldn't verify this).
This is the line from the mimes.php file:
Code:
'xl' => 'application/excel',
It looks like the 's' was left off.