aboutsummaryrefslogtreecommitdiff
path: root/thumbnail.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-21 22:42:39 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-21 22:42:39 +0000
commit6ce057f5162e18cd5190717145a13e7c29fe9da7 (patch)
tree0ce23ee020d366bd27892b0055fe7dc333520dc7 /thumbnail.php
parent8a76d53f35eabe1b33f012e91fd745c1e0653203 (diff)
downloadelgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.gz
elgg-6ce057f5162e18cd5190717145a13e7c29fe9da7.tar.bz2
added in skeleton for image and album classes
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;