I've created a module for m2.0, that basically asks for more information on the product. As such, I am able to request a couple files needed for my project. One of the files is giving me 'Disallowed file type.' error upon saving the product.
My module has a tab on the basic product area. There, I am able to add sets of data that will have files that are not images.
I've followed this tutorial to understand how to do most of my intended features:
and I have:
protected $allowedExtensions = ['pdf', 'obj'];
Can anyone help me get over this issue? Spent a couple hours already and haven't found anything that was able to help me out.
Thanks in advance!
Solved! Go to Solution.