someone forgot to add 'global'... :) fixing that!
This commit is contained in:
parent
5a398cdab5
commit
76a4fb3ff1
1 changed files with 1 additions and 0 deletions
|
|
@ -671,6 +671,7 @@ function wfImageArchiveDir( $fname , $subdir='archive', $shared=false ) {
|
|||
*/
|
||||
function wfGetHashPath ( $dbkey, $fromSharedDirectory = false ) {
|
||||
global $wgHashedSharedUploadDirectory, $wgSharedUploadDirectory;
|
||||
global $wgHashedUploadDirectory;
|
||||
|
||||
$ishashed = $fromSharedDirectory ? $wgHashedSharedUploadDirectory :
|
||||
$wgHashedUploadDirectory;
|
||||
|
|
|
|||
Loading…
Reference in a new issue