dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "[FileBackend] Set ignore_user_abort() in file operations."
[lhc/web/wiklou.git]
/
thumb.php
diff --git
a/thumb.php
b/thumb.php
index
f59ee0f
..
7816860
100644
(file)
--- a/
thumb.php
+++ b/
thumb.php
@@
-170,11
+170,11
@@
function wfStreamThumb( array $params ) {
// Check the source file storage path
if ( !$img->exists() ) {
// Check the source file storage path
if ( !$img->exists() ) {
- wfThumbError( 404,
'The source file for the specified thumbnail does not exist.'
);
+ wfThumbError( 404,
"The source file '$fileName' does not exist."
);
wfProfileOut( __METHOD__ );
return;
} elseif ( $img->getPath() === false ) {
wfProfileOut( __METHOD__ );
return;
} elseif ( $img->getPath() === false ) {
- wfThumbError( 500,
'The source file is not locally accessible.'
);
+ wfThumbError( 500,
"The source file '$fileName' is not locally accessible."
);
wfProfileOut( __METHOD__ );
return;
}
wfProfileOut( __METHOD__ );
return;
}