songxingwei 2 tahun lalu
induk
melakukan
cbf43ced97
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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());