Revision: 43474
Author: tstarling
Date: 2008-11-14 05:51:39 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
-1 is not a valid exit code
Modified Paths:
--------------
trunk/phase3/api.php
Modified: trunk/phase3/api.php
===================================================================
--- trunk/phase3/api.php 2008-11-14 02:21:45 UTC (rev 43473)
+++ trunk/phase3/api.php 2008-11-14 05:51:39 UTC (rev 43474)
@@ -64,7 +64,7 @@
if (!$wgEnableAPI) {
echo 'MediaWiki API is not enabled for this site. Add the following
line to your LocalSettings.php';
echo '<pre><b>$wgEnableAPI=true;</b></pre>';
- die(-1);
+ die(1);
}
/* Construct an ApiMain with the arguments passed via the URL. What we get back
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs