stanley-king 3 лет назад
Родитель
Сommit
32ca68b7f1
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      helper/refill/util.php

+ 2 - 1
helper/refill/util.php

@@ -520,7 +520,8 @@ class util
             static $errors = [CURLE_GOT_NOTHING,CURLE_RECV_ERROR];
             return in_array($code,$errors);
         } elseif($type == "HTTP") {
-            return true;
+            static $excludes = [404];
+            return !in_array($code,$excludes);
         } else {
             return false;
         }