dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e6d22e
)
-1 is not a valid exit code
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 14 Nov 2008 05:51:39 +0000
(
05:51
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 14 Nov 2008 05:51:39 +0000
(
05:51
+0000)
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index
77dc52a
..
817f4bc
100644
(file)
--- 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 '<pre><b>$wgEnableAPI=true;</b></pre>';
- die(
-
1);
+ die(1);
}
/* Construct an ApiMain with the arguments passed via the URL. What we get back