diff sitemap.php @ 95:8a9bfbe220ca

Branch merge.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 18 Oct 2012 17:40:21 +0200
parents b9654b9c4a66
children 41c128ba0c2c
line wrap: on
line diff
--- a/sitemap.php	Thu Oct 18 17:33:34 2012 +0200
+++ b/sitemap.php	Thu Oct 18 17:40:21 2012 +0200
@@ -12,7 +12,7 @@
 $cache->includeOnce('Sitemap.inc', dirname(__FILE__));
 
 try {
-  $sitemap = new Sitemap("master.xml");
+  $sitemap = new Sitemap(basePath() . "/master.xml");
   $sitemap->display();
 }
 catch (Exception $e) {