dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc. bug fixes
[lhc/web/wiklou.git]
/
includes
/
SpecialExport.php
diff --git
a/includes/SpecialExport.php
b/includes/SpecialExport.php
index
1dd1f4a
..
b70e8b2
100644
(file)
--- a/
includes/SpecialExport.php
+++ b/
includes/SpecialExport.php
@@
-15,7
+15,8
@@
function wfSpecialExport( $page = "" ) {
$pages = explode( "\n", $page );
$xml = pages2xml( $pages, $curonly );
echo $xml;
- exit(1);
+ # exit(1) actually prints 1 in some PHP versions
+ exit("");
}
$wgOut->addWikiText( wfMsg( "exporttext" ) );