Jump to content

Manual:$wgImgAuthPath

From mediawiki.org
Server URLs and file paths: $wgImgAuthPath
The base path for img_auth.php.
Introduced in version:1.35.0 (Gerrit change 584817; git #507501d6)
Removed in version:Still in use
Allowed values:Unspecified
Default value:false

Details

[edit]

The base path for img_auth.php. This is used to interpret the request URL for requests to img_auth.php that do not match the base upload path. If false, "{$wgScriptPath }/img_auth.php" is used.

Normally, requests to img_auth.php have a REQUEST_URI which matches $wgUploadPath , and in that case, setting this should not be necessary. This variable is used in case img_auth.php is accessed via a different path than $wgUploadPath.