web22
#1
Hi everyone.
We have a issue in setting the allowed files extensions that can be uploaded.
We would like to upload .gpx files and we can’t manage to solve the allow for this. We updated the cms.php file but the result is not working.
Can you please guide us on this and where/how should we set the allow file upload for .gpx file on October CMS 3.X ?
Thank you in advance.
PS: We have used somthing like this in the config/cms.php file with no luck:
‘fileDefinitions’ => [
‘defaultExtensions’ => [
‘gpx’
]
],
And does adding something like
‘default_extensions’ => […,‘gpx’,…],
in config/media.php helps?
web22
#3
Thanks. This was the solution. All the best.