stanley-king 3 lat temu
rodzic
commit
32ca68b7f1
1 zmienionych plików z 2 dodań i 1 usunięć
  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;
         }