X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=781686092b34f8af74c7d6f899b5fa2592c84580;hb=2926b29da3038cc4b2b7da7e4c83d6429bbf05a0;hp=f59ee0f8ffc59dcafeb252950be883264a5f8690;hpb=3158abd3517162205711488e079d06928848ec75;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; }