[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:
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user