Photo::getType() now uses the accurate Imagick::getImageMimeType()

pull/403/head
Domovoy 2012-07-22 14:50:19 +02:00
rodzic f723f756fd
commit 5d0bd98d2a
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -124,8 +124,7 @@ class Photo {
return FALSE;
if($this->is_imagick()) {
// This should do the trick (see supportedTypes above)
return 'image/'. $this->getExt();
return $this->image->getImageMimeType();
}
return $this->type;
}