This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, I've made some changes to core so users can upload images with lowercase or uppercase extensions - which I don't like. For mediamanager I just updated modules/cms/widgets/MediaManager.php with recent changes from GitHub so hopefully they wont be lost on update. But for attachments it didn't work. After looking a bit deeper into vendor/october/src/Database/Attach/File.php i found method called getDefaultFileTypes, I just added my extensions in uppercase to the arrays but i dont like this way of modyfing core. Any tips how to overcome this?
attachOne and attachMany deletion not working.
Hi,
I wrote optional parameter "delete" => true in model but seem that not working.
1-2 of 2