mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Removed sitemap ping because is deprecated (#1738)
* Removed sitemap ping because is deprecated * Update CHANGELOG.md * Update Sitemap.php * Update main.php * Update config.php * Update sitemap.php * Updated * Update admin_sitemap.tpl * Update admin_sitemap.tpl * Update admin_sitemap.tpl
This commit is contained in:
parent
7a84cdd5c3
commit
4cc6fa0e6c
7 changed files with 99 additions and 179 deletions
|
@ -13,11 +13,3 @@ if (!defined('BB_ROOT')) {
|
|||
|
||||
$map = new TorrentPier\Sitemap();
|
||||
$map->createSitemap();
|
||||
|
||||
if (is_file(SITEMAP_DIR . '/sitemap.xml')) {
|
||||
$map_link = make_url(hide_bb_path(SITEMAP_DIR . '/sitemap.xml'));
|
||||
|
||||
foreach ($bb_cfg['sitemap_sending'] as $source_name => $source_link) {
|
||||
$map->sendSitemap($source_link, $map_link);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue