Tighten requirements on Fetcher's changing their crawl time
Tighten requirements on Fetcher's changing their crawl time
diff --git a/src/css/search.css b/src/css/search.css
index 1a42219f9..bbcbc6b90 100755
--- a/src/css/search.css
+++ b/src/css/search.css
@@ -1107,12 +1107,12 @@ body.mobile
}
.top-container.landing
{
- background-color:white;
+ background-color: white;
}
.top-container .inner-bar
{
height: 60px;
- margin:0;
+ margin: 0;
}
.top-container.landing .inner-bar
{
diff --git a/src/executables/Fetcher.php b/src/executables/Fetcher.php
index f6852eb9d..249a3bf97 100755
--- a/src/executables/Fetcher.php
+++ b/src/executables/Fetcher.php
@@ -1136,8 +1136,7 @@ class Fetcher implements CrawlConstants
$this->cullNoncrawlableSites();
}
if (isset($info[self::CRAWL_TIME])
- && ($info[self::CRAWL_TIME] != $this->crawl_time
- || $info[self::CRAWL_TIME] == 0)) {
+ && ($info[self::CRAWL_TIME] != $this->crawl_time)) {
if ($info[self::CRAWL_TIME] > 0) {
L\crawlLog("New Crawl Time Found: {$info[self::CRAWL_TIME]}");
} else {
@@ -1219,6 +1218,8 @@ class Fetcher implements CrawlConstants
false, $this->crawl_time, $result_dir);
$this->db->setWorldPermissionsRecursive($result_dir);
}
+ } else if (!isset($info[self::CRAWL_TIME])) {
+ L\crawlLog("!!!!Server did not respond with a crawl time!!!!");
}
L\crawlLog("End Name Server Check");
if ($time_change) {