From: Ævar Arnfjörð Bjarmason Date: Fri, 4 Nov 2005 22:38:17 +0000 (+0000) Subject: * Don't make the url to the sitemap file a full url X-Git-Tag: 1.6.0~1218 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=8934279c29de64b57291a6a2cd7b37d604e53e59;p=lhc%2Fweb%2Fwiklou.git * Don't make the url to the sitemap file a full url --- diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php index f58d643131..99b8f9b907 100644 --- a/maintenance/generateSitemap.php +++ b/maintenance/generateSitemap.php @@ -362,11 +362,9 @@ class GenerateSitemap { * @return string */ function indexEntry( $filename ) { - global $wgServer; - return "\t\n" . - "\t\t$wgServer{$this->path}/$filename\n" . + "\t\t$filename\n" . "\t\t{$this->timestamp}\n" . "\t\n"; }