Refactored Sitemap class (#648)

This commit is contained in:
Roman Kelesidis 2023-03-20 23:27:28 +07:00 committed by GitHub
commit 5f0649073f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 14 deletions

View file

@ -11,7 +11,7 @@ if (!defined('BB_ROOT')) {
die(basename(__FILE__));
}
$map = new TorrentPier\Legacy\Sitemap();
$map = new TorrentPier\Sitemap();
$map->createSitemap();
if (file_exists(SITEMAP_DIR . '/sitemap.xml')) {