Fix Sitemap Helper
This commit is contained in:
parent
1baccc04ad
commit
c9b2e8a045
1 changed files with 1 additions and 1 deletions
|
@ -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/');
|
||||
|
|
Reference in a new issue