[eluser]TheFuzzy0ne[/eluser]
I thought that mime was the mime type of the current file, not an array of mimes. I've changed the code again. If you get any more errors, I'll just create a controller and test it myself.
EDIT: On second thoughts, I can see that's not going to work either. Gonna go get some food, and then I'll write some code, and test it.
EDIT 2: On third thoughts, try it out, I think I fixed it. If not,
then I'll fix and test it.