EllisLab/CodeIgniter — pull request #697 by MVUG (2011-11-23 09:12:02+00:00)
Title: 2 upload fixes

I have 2 issus fixed.

Uploading XLSX and DOCX files gives an error (when you set $config['allowed_types'] in the upload config). These files seem to be uploaded as application/zip. I have added these mime types.

There is a bug in system/libraries/Upload.php, on line 1072 $file['tmp_path'] is called, but this key does not exists. It should be $file['tmp_name'] see also http://codeigniter.com/forums/viewthread/204725/