Welcome Guest, Not a member yet? Register   Sign In
Bug in /app/config/mimes.php
#1

[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.


Messages In This Thread
Bug in /app/config/mimes.php - by El Forum - 04-17-2009, 03:15 PM
Bug in /app/config/mimes.php - by El Forum - 04-17-2009, 03:17 PM
Bug in /app/config/mimes.php - by El Forum - 04-18-2009, 12:26 AM
Bug in /app/config/mimes.php - by El Forum - 04-20-2009, 10:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB