dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895b9e5
)
Fix wfImagePath: removed invalid urlencode()
author
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 1 Feb 2004 12:21:26 +0000
(12:21 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 1 Feb 2004 12:21:26 +0000
(12:21 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
dc8cfc5
..
88ec901
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-109,9
+109,9
@@
function wfImagePath( $img )
$name = $nt->getDBkey();
$hash = md5( $name );
- $
url
= "{$wgUploadDirectory}/" . $hash{0} . "/" .
+ $
path
= "{$wgUploadDirectory}/" . $hash{0} . "/" .
substr( $hash, 0, 2 ) . "/{$name}";
- return
wfUrlencode( $url )
;
+ return
$path
;
}
function wfThumbUrl( $img )