Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
961 B

5 years ago
  1. vich_uploader:
  2. db_driver: orm
  3. twig: true # set to false to disable twig integration
  4. form: true # set to false to disable form integration
  5. storage: file_system # or gaufrette or flysystem
  6. metadata:
  7. auto_detection: true
  8. cache: file
  9. #mappings:
  10. # products:
  11. # uri_prefix: /images/products
  12. # upload_destination: '%kernel.project_dir%/public/images/products'
  13. mappings:
  14. uploadavatar:
  15. uri_prefix: /uploads/images/avatars
  16. upload_destination: '%kernel.project_dir%/public/uploads/images/avatars'
  17. inject_on_load: true
  18. delete_on_update: true
  19. delete_on_remove: true
  20. upload:
  21. uri_prefix: /uploads/images/news
  22. upload_destination: '%kernel.project_dir%/public/uploads/images/news'
  23. inject_on_load: true
  24. delete_on_update: true
  25. delete_on_remove: true