Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SS3 How to add to allowed extensions




24 April 2014 at 10:38am (Last edited: 24 April 2014 10:39am), Community Member, 12 Posts

I can see a lot of posts for SS2 where you can set File::$allowed_extensions, but this is now private in SS3.
How can I add additional extensions to this?

Related: the svg extension should probably be added as standard too.