在system/libraries/Upload.php
修改
public function is_allowed_filetype(){ //xxxxxx }
在最后加上
//swf(为了可以上传swfupload才加判断) 上传验证mime类型, if($this->is_swf){ if('application/octet-stream' == $this->file_type){ return TRUE; } }