diff sitemap.php @ 86:b9654b9c4a66

Make headers a part of the content, rather than setting them directly.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Mon, 15 Oct 2012 18:32:56 +0200
parents 4acaab0b02e2
children 8a9bfbe220ca
line wrap: on
line diff
--- a/sitemap.php	Mon Oct 15 16:53:29 2012 +0200
+++ b/sitemap.php	Mon Oct 15 18:32:56 2012 +0200
@@ -13,7 +13,7 @@
 
 try {
   $sitemap = new Sitemap("master.xml");
-  $sitemap->genPage();
+  $sitemap->display();
 }
 catch (Exception $e) {
   errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR);