OneupFlysystemBundle
OneupFlysystemBundle copied to clipboard
Automatically create folder for local adapter if not exist
For the local adapter you need to set a directory - of course.
But it might be helpful to have a create: false
/ create: true
feature on the local adapter in the configuration file. The same feature exists on Gaufrette.
Example Gaufrette:
knp_gaufrette:
adapters:
example:
local:
directory: %storage_dir%/example/example2/
create: true
Has this behaviour perhaps changed in recent releases? I see my post-deploy scripts failing all of a sudden because FlySystem tries to create a directory that already exists.
Maybe due to changes in FlySystem?