vich_uploader.yaml 479 B

123456789101112131415
  1. vich_uploader:
  2. db_driver: orm
  3. storage: flysystem
  4. mappings:
  5. resources:
  6. uri_prefix: '/'
  7. upload_destination: resources_fs
  8. namer: Vich\UploaderBundle\Naming\Base64Namer
  9. directory_namer:
  10. service: Vich\UploaderBundle\Naming\SubdirDirectoryNamer
  11. options: {chars_per_dir: 1, dirs: 3}
  12. inject_on_load: true
  13. delete_on_update: true
  14. delete_on_remove: true