shish il y a 3 ans
Parent
commit
ce82c878f4
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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()
     {
+
+        ini_set('memory_limit', '2045M');
+        set_time_limit(0);
+
         $mainId = $this->mainId;
         $respond = StatSaleClass::profile($mainId);
         $income = $respond['income'] ?? 0;