songxingwei 2 anos atrás
pai
commit
cbf43ced97
1 arquivos alterados com 1 adições e 0 exclusões
  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());