[eluser]Simple Gifts[/eluser]
Hello, folks.
I'm writing some code to upload a csv file and dump it into a database. Everything works fine on my development system, but when running on the server, I get an error.
After a little poking around, it turns out that the uploaded mime type is "text/plain". In config/mimes.php, "text/plain" is not one of the mime types associated with $mimes['csv'].
Adding the entry to config/mimes.php fixed the problem, but I was wondering if this mime type should be included in codeigniter. Seems like this would be a fairly common situation.
Thanks.