Fix index name in comment to "PHP_INFO"
authorAlangi Derick <alangiderick@gmail.com>
Sun, 30 Sep 2018 13:34:16 +0000 (14:34 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 9 Oct 2018 02:00:34 +0000 (02:00 +0000)
Change-Id: If006e96f5bae20791c1d388faad685203a061f22

api.php

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;
 }
 
-// Pathinfo can be used for stupid things. We don't support it for api.php at
+// PATH_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() );