Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

+1 -13
View File
@@ -25,7 +25,7 @@ class _Sitemap
/**
* @brief Maximum number of entries to include per file
*/
const MAX_PER_FILE = 1000;
const MAX_PER_FILE = 500;
/**
* @brief Count options
@@ -283,17 +283,5 @@ class _Sitemap
{
$this->log[] = 'sitemap_ping_google_success';
}
/* Ping Bing */
$response = \IPS\Http\Url::external( "http://www.bing.com/ping?sitemap=" . urlencode( $this->sitemapUrl ) )->request()->get();
if( $response->httpResponseCode != 200 )
{
$this->log[] = 'sitemap_ping_bing_fail';
}
else
{
$this->log[] = 'sitemap_ping_bing_success';
}
}
}