X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=api.php;h=db9de75156e9502a8548fdf9a7258ba42b33d8ad;hp=9cf75787ba1a387cfa4dd0699d0aa4e48c12d3f4;hb=d85ef6f05656be61fccd6ec448bcf23a34b1e284;hpb=b8010e74a998aa38a3a84f2cf2ea6dcc0cee167b diff --git a/api.php b/api.php index 9cf75787ba..db9de75156 100644 --- 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() );