From 5df598a1d41cdb39d0d9ba8ade3d7898f4954b9c Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 24 Jun 2023 15:21:47 +0300 Subject: [PATCH] fix variable name --- crontab/crawler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crontab/crawler.php b/crontab/crawler.php index 5e17962..639438d 100644 --- a/crontab/crawler.php +++ b/crontab/crawler.php @@ -547,7 +547,7 @@ foreach ($db->getHostPageCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECOND } // Skip page with meta robots:nofollow attribute - if (false !== stripos($robots, 'nofollow')) { + if (false !== stripos($metaRobots, 'nofollow')) { continue; }