xxxrrrdddd %!s(int64=2) %!d(string=hai) anos
pai
achega
830b240a41
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 0 1
      application/service/AppInit.php
  2. 1 0
      think

+ 0 - 1
application/service/AppInit.php

@@ -6,7 +6,6 @@ use think\Validate;
 
 class AppInit{
     public function run($params){
-        ini_set('memory_limit',-1);
         \PhpOffice\PhpSpreadsheet\Settings::setCache(cache_simple());
     }
 }

+ 1 - 0
think

@@ -10,6 +10,7 @@
 // | Author: yunwuxin <448901948@qq.com>
 // +----------------------------------------------------------------------
 
+ini_set('memory_limit',-1);
 // 定义项目路径
 define('APP_PATH', __DIR__ . '/application/');
 bcscale(2);