ZxcZxc123 2 éve
szülő
commit
9325d1a0f4
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;