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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Enable all file types to be uploaded by FileField


Go to End


953 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