ZxcZxc123 2 년 전
부모
커밋
9325d1a0f4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      library/utils/Qiniu.php

+ 1 - 1
library/utils/Qiniu.php

@@ -205,7 +205,7 @@ class Qiniu {
      * @param type $ext 限制后缀名
      * @return boolean
      */
-    public function updateFile($path,$name,$files,$ext = array('jpg','png','gif','webp','mp3','mp4')) {
+    public function updateFile($path,$name,$files,$ext = array('jpg','png','gif','webp')) {
         if (empty($files)) {
             $this->error = '没有上传的文件!';
             return false;