From 48664f0cafc665ffb7016e277f330a700ca88df5 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 14 May 2023 04:33:35 +0300 Subject: [PATCH] fix zip close, loop brake condition --- crontab/crawler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crontab/crawler.php b/crontab/crawler.php index 89ce823..3fe1171 100644 --- a/crontab/crawler.php +++ b/crontab/crawler.php @@ -420,13 +420,13 @@ try { // Update DB registry $hostPagesSnapAdded += $db->addHostPageSnap($queueHostPage->hostPageId, $crc32data, $time); - - $zip->close(); - - break; } } + + $zip->close(); } + + break; } } }