X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=thumb.php;h=781686092b34f8af74c7d6f899b5fa2592c84580;hb=549311b20552d137e683a8e837be586f9bfd496f;hp=f59ee0f8ffc59dcafeb252950be883264a5f8690;hpb=3b90e21dddad913780cb6d661128ee97c1e1f1c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index f59ee0f8ff..781686092b 100644 --- a/thumb.php +++ b/thumb.php @@ -170,11 +170,11 @@ function wfStreamThumb( array $params ) { // 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 ) { - wfThumbError( 500, 'The source file is not locally accessible.' ); + wfThumbError( 500, "The source file '$fileName' is not locally accessible." ); wfProfileOut( __METHOD__ ); return; }