Index: trunk/phase3/thumb.php |
— | — | @@ -73,7 +73,7 @@ |
74 | 74 | wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' ); |
75 | 75 | return; |
76 | 76 | } |
77 | | - $sourcePath = $img->getPath(); |
| 77 | + $sourcePath = $isOld ? $img->getArchivePath() : $img->getPath(); |
78 | 78 | if ( $sourcePath === false ) { |
79 | 79 | wfThumbError( 500, 'The source file is not locally accessible.' ); |
80 | 80 | return; |