Jump to navigation Jump to search
Other languages:
English • ‎français • ‎polski • ‎العربية • ‎日本語
URLs and file paths: $wgImgAuthPath
The base path for img_auth.php.
Introduced in version:1.35.0 (r584817)(git #507501d6)
Removed in version:still in use
Allowed values:Unspecified
Default value:false


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.