diff --git a/controllers/DefaultController.php b/controllers/DefaultController.php index 804d78a..21cbe93 100644 --- a/controllers/DefaultController.php +++ b/controllers/DefaultController.php @@ -33,6 +33,6 @@ public function actionIndex() $headers->add('Content-Encoding', 'gzip'); $headers->add('Content-Length', strlen($sitemapData)); } - echo $sitemapData; + return $sitemapData; } }