我已将KnpGaufretteBundle配置为将文件上传写入 Amazon S3。文件已上传,但会添加基于当前日期命名的其他子文件夹。我怎样才能防止这种情况?
knp_gaufrette:
adapters:
image_storage:
amazon_s3:
amazon_s3_id: mynamespace_admin.amazon_s3
bucket_name: %amazon_s3_bucket_name%
create: false
options:
create: true
directory: 'mydirectory'
region: %amazon_s3_region%
filesystems:
image_storage:
adapter: image_storage
alias: image_storage_filesystem