hack
This commit is contained in:
parent
d6392dfd44
commit
7abb4742a5
@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user