[CONFIG] Change default config to make media files (attachments and their thumbnails) to a subfolder to file, so cleanup scripts can avoid files meant to be persistent (plugin files, certificates)
This commit is contained in:
parent
eccf21edef
commit
6e85a4adbb
|
@ -39,9 +39,6 @@ parameters:
|
|||
adapters:
|
||||
default: redis://redis
|
||||
|
||||
storage:
|
||||
dir: '%kernel.project_dir%/file/'
|
||||
|
||||
avatar:
|
||||
server:
|
||||
ssl:
|
||||
|
@ -60,7 +57,7 @@ parameters:
|
|||
attachments:
|
||||
server:
|
||||
ssl:
|
||||
dir: "%kernel.project_dir%/file/attachments/"
|
||||
dir: "%kernel.project_dir%/file/media/attachments/"
|
||||
supported:
|
||||
application/gpx+xml: gpx
|
||||
application/msword: doc
|
||||
|
@ -117,7 +114,7 @@ parameters:
|
|||
thumbnail:
|
||||
server:
|
||||
ssl:
|
||||
dir: "%kernel.project_dir%/file/thumbnails/"
|
||||
dir: "%kernel.project_dir%/file/media/thumbnails/"
|
||||
smart_crop: false
|
||||
maximum_pixels: 256000
|
||||
minimum_width: 16
|
||||
|
|
Loading…
Reference in New Issue
Block a user