mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-12 13:21:09 +00:00
fix undefined variable
This commit is contained in:
parent
e953c01eaa
commit
6eefd9b762
@ -121,7 +121,7 @@ foreach ($db->getHostCrawlQueue(CRAWL_HOST_LIMIT, time() - CRAWL_HOST_SECONDS_OF
|
||||
if ($sitemapLink = $robots->getSitemap()) {
|
||||
|
||||
// Replace relative paths
|
||||
$sitemapURL = sprintf('%s/%s', $queueHost->url, trim(str_ireplace($hostCrawlQueue->url, '', $sitemapLink), '/'));
|
||||
$sitemapURL = sprintf('%s/%s', $queueHost->url, trim(str_ireplace($queueHost->url, '', $sitemapLink), '/'));
|
||||
|
||||
// Set default path
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user