diff options
author | friendica <info@friendica.com> | 2014-09-11 15:50:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-11 15:50:35 -0700 |
commit | 5547222da236c29fcb7bf6e3b6d8ed7421e1c57f (patch) | |
tree | 289c72c722bc22fa8845e289861d0b52b729793f /include | |
parent | 219b0608945346f0f47e9facfeefad272faf2bce (diff) | |
download | volse-hubzilla-5547222da236c29fcb7bf6e3b6d8ed7421e1c57f.tar.gz volse-hubzilla-5547222da236c29fcb7bf6e3b6d8ed7421e1c57f.tar.bz2 volse-hubzilla-5547222da236c29fcb7bf6e3b6d8ed7421e1c57f.zip |
add gif to supported image types (if it's supported)
Diffstat (limited to 'include')
-rw-r--r-- | include/photo/photo_gd.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_gd.php b/include/photo/photo_gd.php index 466f8c23a..fa1f700e9 100644 --- a/include/photo/photo_gd.php +++ b/include/photo/photo_gd.php @@ -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; } |