diff options
Diffstat (limited to 'thumbnail.php')
-rw-r--r-- | thumbnail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbnail.php b/thumbnail.php index 688d400af..eaca0849f 100644 --- a/thumbnail.php +++ b/thumbnail.php @@ -62,7 +62,7 @@ }
// Return the thumbnail and exit
- $mime = $file->mimetype;
+ $mime = $file->getMimeType();
header("Content-type: $mime");
echo $contents;
exit;
|