songxingwei %!s(int64=2) %!d(string=hai) anos
pai
achega
cbf43ced97
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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());