aboutsummaryrefslogtreecommitdiff
path: root/thumbnail.php
diff options
context:
space:
mode:
Diffstat (limited to 'thumbnail.php')
-rw-r--r--thumbnail.php2
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;