Manual:$wgUploadDirectory

Details
The file system path of the upload directory.

''Note: There are other variables which are defined relative to this one. If you redefine this in your LocalSettings.php then all dependent variables including wgUploadPath will need redefining also!''