shish hace 3 años
padre
commit
ce82c878f4
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      app-ghs/controllers/StatController.php

+ 4 - 0
app-ghs/controllers/StatController.php

@@ -15,6 +15,10 @@ class StatController extends BaseController
 
 
     public function actionProfit()
     public function actionProfit()
     {
     {
+
+        ini_set('memory_limit', '2045M');
+        set_time_limit(0);
+
         $mainId = $this->mainId;
         $mainId = $this->mainId;
         $respond = StatSaleClass::profile($mainId);
         $respond = StatSaleClass::profile($mainId);
         $income = $respond['income'] ?? 0;
         $income = $respond['income'] ?? 0;