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:
bc8571c
)
Fix index name in comment to "PHP_INFO"
author
Alangi Derick
<alangiderick@gmail.com>
Sun, 30 Sep 2018 13:34:16 +0000
(14:34 +0100)
committer
Krinkle
<krinklemail@gmail.com>
Tue, 9 Oct 2018 02:00:34 +0000
(
02:00
+0000)
Change-Id: If006e96f5bae20791c1d388faad685203a061f22
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index
9cf7578
..
db9de75
100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-41,7
+41,7
@@
if ( !$wgRequest->checkUrlExtension() ) {
return;
}
-// P
athinfo
can be used for stupid things. We don't support it for api.php at
+// P
ATH_INFO
can be used for stupid things. We don't support it for api.php at
// all, so error out if it's present.
if ( isset( $_SERVER['PATH_INFO'] ) && $_SERVER['PATH_INFO'] != '' ) {
$correctUrl = wfAppendQuery( wfScript( 'api' ), $wgRequest->getQueryValues() );