songxingwei 2 роки тому
батько
коміт
cbf43ced97
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      app/data/controller/api/auth/Center.php

+ 1 - 0
app/data/controller/api/auth/Center.php

@@ -79,6 +79,7 @@ class Center extends Auth
      */
     public function upload()
     {
+        ini_set ("memory_limit","-1");
         $file = $this->request->file('file');
         if (empty($file)) $this->error('文件上传异常!');
         $extension = strtolower($file->getOriginalExtension());