EllisLab/CodeIgniter — pull request #694 by MVUG (2011-11-22 23:37:07+00:00)
Title: 2 Upload fixes

I have 2 issus fixed.

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

2. 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/*