1
0
Fork 0

Fix Sitemap Helper

This commit is contained in:
sgiehl 2022-04-08 15:56:32 +02:00
parent 1baccc04ad
commit c9b2e8a045
No known key found for this signature in database
GPG key ID: 6C85A2863D997A05

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/');