Enable new file extension
Submitted by gwulf on Thu, 03/18/2021 - 12:46
Forums:
Hello everyone,
I am currently working on a WebXR library and would like to allow the upload of different 3D mesh data in the editor.
I have to add the desired file extension to the PHP constant $defaultContentWhitelist, but the return of the function getWhitelist() does not change.
And so the new file type is still not accepted in the editor.
Do I have to make changes somewhere else?
I am using for development Drupal 7 in combination with the development folder.
Many thanks
gwulf
Content types: