PSR-4 compatible legacy code autoloading.

This commit is contained in:
Yuriy Pikhtarev 2017-05-22 22:52:41 +03:00
commit 80a035d191
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
50 changed files with 5296 additions and 4522 deletions

View file

@ -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")) {