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
(from parent 1:
4672790
)
use getArchivePath()
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 13 Aug 2008 02:02:36 +0000
(
02:02
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 13 Aug 2008 02:02:36 +0000
(
02:02
+0000)
thumb.php
patch
|
blob
|
history
diff --git
a/thumb.php
b/thumb.php
index
bb37e6e
..
6af0698
100644
(file)
--- a/
thumb.php
+++ b/
thumb.php
@@
-73,7
+73,7
@@
function wfThumbMain() {
wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' );
return;
}
- $sourcePath = $img->getPath();
+ $sourcePath = $i
sOld ? $img->getArchivePath() : $i
mg->getPath();
if ( $sourcePath === false ) {
wfThumbError( 500, 'The source file is not locally accessible.' );
return;