[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
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -39,9 +39,6 @@ parameters:
adapters: adapters:
default: redis://redis default: redis://redis
storage:
dir: '%kernel.project_dir%/file/'
avatar: avatar:
server: server:
ssl: ssl:
@ -60,7 +57,7 @@ parameters:
attachments: attachments:
server: server:
ssl: ssl:
dir: "%kernel.project_dir%/file/attachments/" dir: "%kernel.project_dir%/file/media/attachments/"
supported: supported:
application/gpx+xml: gpx application/gpx+xml: gpx
application/msword: doc application/msword: doc
@ -117,7 +114,7 @@ parameters:
thumbnail: thumbnail:
server: server:
ssl: ssl:
dir: "%kernel.project_dir%/file/thumbnails/" dir: "%kernel.project_dir%/file/media/thumbnails/"
smart_crop: false smart_crop: false
maximum_pixels: 256000 maximum_pixels: 256000
minimum_width: 16 minimum_width: 16