Manual:$wgSharedUploadDBname

Details
DB name with metadata about shared directory.

Set this to false if the uploads do not come from a wiki.