From: Marcel Werk Date: Mon, 21 Sep 2015 11:16:57 +0000 (+0200) Subject: Page logo can be a gif now X-Git-Tag: 2.1.8~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c53b180174d9e8caf571ea04910702025002a7c;p=GitHub%2FWoltLab%2FWCF.git Page logo can be a gif now --- diff --git a/wcfsetup/install/files/lib/data/style/StyleAction.class.php b/wcfsetup/install/files/lib/data/style/StyleAction.class.php index f16eb2b68c..2edfd260b5 100644 --- a/wcfsetup/install/files/lib/data/style/StyleAction.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleAction.class.php @@ -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'))); } /**