From: Domas Mituzas Date: Sat, 19 Feb 2005 12:41:18 +0000 (+0000) Subject: someone forgot to add 'global'... :) fixing that! X-Git-Tag: 1.5.0alpha1~716 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=76a4fb3ff1dd450b31040973eb99cf834eb690a7;p=lhc%2Fweb%2Fwiklou.git someone forgot to add 'global'... :) fixing that! --- diff --git a/includes/Image.php b/includes/Image.php index fac3364199..56d5ddfdaa 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -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;