[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:
Hugo Sales 2022-02-26 12:29:48 +00:00
parent eccf21edef
commit 6e85a4adbb
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -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