shish 3 yıl önce
ebeveyn
işleme
2fa13cfef0
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      console/controllers/InitController.php

+ 4 - 0
console/controllers/InitController.php

@@ -14,6 +14,10 @@ class InitController extends Controller
     // ./yii init/hd
     public function actionHd()
     {
+
+        ini_set('memory_limit', '2045M');
+        set_time_limit(0);
+
         $customList = CustomClass::getAllByCondition(['id>' => 0], null, '*', null, true);
         if (!empty($customList)) {
             foreach ($customList as $custom) {