From: Tim Starling Date: Fri, 14 Nov 2008 05:51:39 +0000 (+0000) Subject: -1 is not a valid exit code X-Git-Tag: 1.31.0-rc.0~44347 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=7f42dcde820aef70e856934cd63f1e33769f7c35;p=lhc%2Fweb%2Fwiklou.git -1 is not a valid exit code --- diff --git a/api.php b/api.php index 77dc52a4fb..817f4bca78 100644 --- a/api.php +++ b/api.php @@ -64,7 +64,7 @@ if( strcmp( "$wgScriptPath/api$wgScriptExtension", $url ) ) { if (!$wgEnableAPI) { echo 'MediaWiki API is not enabled for this site. Add the following line to your LocalSettings.php'; echo '
$wgEnableAPI=true;
'; - die(-1); + die(1); } /* Construct an ApiMain with the arguments passed via the URL. What we get back