add gif to supported image types (if it's supported)
This commit is contained in:
parent
219b060894
commit
5547222da2
@ -10,7 +10,7 @@ class photo_gd extends photo_driver {
|
||||
$t = array();
|
||||
$t['image/jpeg'] ='jpg';
|
||||
if (imagetypes() & IMG_PNG) $t['image/png'] = 'png';
|
||||
|
||||
if (imagetypes() & IMG_GIF) $t['image/gif'] = 'gif';
|
||||
return $t;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user