CI提示信息为:
The filetype you are attempting to upload is not allowed.
修改config/mimes.php
在$mimes数组中加入自己需要上传文件的格式流:例如 'rar'=>'application/octet-stream'即可
The filetype you are attempting to upload is not allowed.
修改config/mimes.php
在$mimes数组中加入自己需要上传文件的格式流:例如 'rar'=>'application/octet-stream'即可
转载于:https://blog.51cto.com/njyanglinghui/1029710