From 7abb4742a5672a6b393b1b17d6c793045decdb5c Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 19 Jul 2010 13:35:10 +0100 Subject: [PATCH] hack --- core/imageboard.pack.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 00e4d165..1eb9405e 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -342,7 +342,9 @@ class Image { * @retval string */ public function get_mime_type() { - return "image/".($this->ext); + $type = strtolower($this->ext); + if($type == "jpg") $type = "jpeg"; + return "image/$type"; } /**