Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Update DefaultController.php
Browse files Browse the repository at this point in the history
Теперь будет применяться 'Content-Type: application/xml'
  • Loading branch information
Sergei Gulin committed Jul 31, 2015
1 parent bbae8d0 commit 9394875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public function actionIndex()
$headers->add('Content-Encoding', 'gzip');
$headers->add('Content-Length', strlen($sitemapData));
}
echo $sitemapData;
return $sitemapData;
}
}

0 comments on commit 9394875

Please sign in to comment.