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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

Enable all file types to be uploaded by FileField


Go to End


802 Views

Avatar
nekranox

Community Member, 31 Posts

5 May 2011 at 3:52am

Hey guys,

quick question, I know I can add file types to "File::$allowed_extensions" but is there a quick easy way to allow files of any type to be uploaded?

Thanks,

Robbie