|The path segment of the upload directory.
|이 변수가 소개된 버전:||pre 1.1.0|
|이 변수가 사라진 버전:||계속해서 쓰이고 있음|
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php, after LocalSettings.php is executed)
|기타 설정: 알파벳 순 | 기능별 순|
The relative path to the upload directory. This is used to construct the URLs for viewing uploaded files.
In most cases this is just the path component, such as "/w/images". If uploaded files are served from a different domain, this can be a fully-qualified URL with hostname, such as "http://upload.wikimedia.org/wikipedia/en".
If the variable contains a local path (without "http://") then it must start with a slash, otherwise it will result in a bad URL. (For example if you set it to "foldername" it will result in files being loaded from "http://www.example.comfoldername" - note the missing slash after ".com")
To enable permission checks on image files, $wgUploadPath can be pointed to the img_auth.php script ( $wgUploadPath = $wgScriptPath."/img_auth.php"; ) - see Manual:Image Authorisation for instructions.
$wgUploadDirectory) than from where MediaWiki will try to retrieve them for viewing (