mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
PSR-4 compatible legacy code autoloading.
This commit is contained in:
parent
e463fee20f
commit
80a035d191
50 changed files with 5296 additions and 4522 deletions
|
@ -27,9 +27,7 @@ if (!defined('BB_ROOT')) {
|
|||
die(basename(__FILE__));
|
||||
}
|
||||
|
||||
require CLASS_DIR . '/sitemap.php';
|
||||
|
||||
$map = new sitemap();
|
||||
$map = new TorrentPier\Legacy\Sitemap();
|
||||
$map->create();
|
||||
|
||||
if (@file_exists(BB_ROOT . "/sitemap/sitemap.xml")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue