1
0
Fork 0

Merge pull request #22 from matomo-org/fixsitemap

Fix Sitemap Helper
This commit is contained in:
Thomas Steur 2022-08-17 08:26:40 +12:00 committed by GitHub
commit bd903e0696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ use Slim\App;
class SitemapHelper
{
public static function createSitemap(Logger $logger) {
$app = new App();
$app = \Slim\Factory\AppFactory::create();
require "../routes/page.php";
$sitemap = new Sitemap(BASE_DOMAIN);
$sitemap->setPath('../tmp/');