From: Ævar Arnfjörð Bjarmason Date: Thu, 21 Apr 2005 03:58:10 +0000 (+0000) Subject: * Cleaned up X-Git-Tag: 1.5.0alpha1~214 X-Git-Url: http://git.cyclocoop.org/wiki/%7B%7Bpath%7D%7Dmw-config/index.php?a=commitdiff_plain;h=8d9ec35bc3f3351cc24436a2cacc437a6a93a387;p=lhc%2Fweb%2Fwiklou.git * Cleaned up --- diff --git a/includes/SpecialExport.php b/includes/SpecialExport.php index b9f46506f8..fa4424fb80 100644 --- a/includes/SpecialExport.php +++ b/includes/SpecialExport.php @@ -67,8 +67,8 @@ function pages2xml( $pages, $curonly = false ) { wfProfileIn( $fname ); global $wgContLanguageCode, $wgInputEncoding, $wgContLang; - $xml = "<" . "?xml version=\"1.0\" encoding=\"UTF-8\" ?" . ">\n" . - "\n"; + $xml = '' . "\n" . + '' . "\n"; foreach( $pages as $page ) { $xml .= page2xml( $page, $curonly ); } @@ -192,4 +192,4 @@ function xmlsafe( $string ) { wfProfileOut( $fname ); return $string; } -?> \ No newline at end of file +?>