Browse Source

fix data type

main
ghost 2 years ago
parent
commit
e418ddcd32
  1. 8
      crontab/crawler.php

8
crontab/crawler.php

@ -71,10 +71,10 @@ foreach ($db->getCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECONDS_OFFSET
} }
// Get optional page meta data // Get optional page meta data
$metaDescription = null; $metaDescription = '';
$metaKeywords = null; $metaKeywords = '';
$metaRobots = null; $metaRobots = '';
$metaYggo = null; $metaYggo = '';
foreach (@$dom->getElementsByTagName('meta') as $meta) { foreach (@$dom->getElementsByTagName('meta') as $meta) {

Loading…
Cancel
Save