Page logo can be a gif now
authorMarcel Werk <burntime@woltlab.com>
Mon, 21 Sep 2015 11:16:57 +0000 (13:16 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 21 Sep 2015 11:16:57 +0000 (13:16 +0200)
wcfsetup/install/files/lib/data/style/StyleAction.class.php

index f16eb2b68c29eb6fd13ab820135b6c78fa4c29d7..2edfd260b59bc2d70c5b6cefe56b11bc86a00322 100644 (file)
@@ -265,7 +265,7 @@ class StyleAction extends AbstractDatabaseObjectAction implements IToggleAction
                }
                
                // check max filesize, allowed file extensions etc.
-               $this->parameters['__files']->validateFiles(new DefaultUploadFileValidationStrategy(PHP_INT_MAX, array('jpg', 'jpeg', 'png')));
+               $this->parameters['__files']->validateFiles(new DefaultUploadFileValidationStrategy(PHP_INT_MAX, array('jpg', 'jpeg', 'png', 'gif')));
        }
        
        /**