Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user