From: Brion Vibber Date: Sat, 15 Nov 2003 09:24:18 +0000 (+0000) Subject: exit() X-Git-Tag: 1.1.0~169 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=cb1ed976d14c3f8eff95364674be8d115785cf8d;p=lhc%2Fweb%2Fwiklou.git exit() --- diff --git a/includes/SpecialExport.php b/includes/SpecialExport.php index b70e8b2304..9f23fbb521 100644 --- a/includes/SpecialExport.php +++ b/includes/SpecialExport.php @@ -15,8 +15,7 @@ function wfSpecialExport( $page = "" ) { $pages = explode( "\n", $page ); $xml = pages2xml( $pages, $curonly ); echo $xml; - # exit(1) actually prints 1 in some PHP versions - exit(""); + exit(); } $wgOut->addWikiText( wfMsg( "exporttext" ) );