From 56a106ad608948f3c4b0faee73c0f35845eeeda9 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sun, 13 Nov 2022 15:25:46 +0100 Subject: [PATCH] Only one labs section in the conf file --- webmails/snappymail/defaults/application.ini | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/webmails/snappymail/defaults/application.ini b/webmails/snappymail/defaults/application.ini index 85c8c7c6..bcf544c5 100644 --- a/webmails/snappymail/defaults/application.ini +++ b/webmails/snappymail/defaults/application.ini @@ -9,12 +9,10 @@ openpgp = On [labs] allow_gravatar = Off -{% if WEB_WEBMAIL == '/' %} -custom_login_link='sso.php' -{% else %} -custom_login_link='{{ WEB_WEBMAIL }}/sso.php' -{% endif %} -custom_logout_link='/sso/logout' +image_exif_auto_rotate = On +try_to_detect_hidden_images = On +{% if WEB_WEBMAIL == '/' %}custom_login_link = "sso.php"{% else %}custom_login_link = "{{ WEB_WEBMAIL }}/sso.php"{% endif %} +custom_logout_link = "/sso/logout" [contacts] enable = On @@ -24,11 +22,8 @@ allow_sync = On contacts_autosave = On [cache] +enable = On fast_cache_driver = "APCU" [imap] use_move = On - -[labs] -image_exif_auto_rotate = On -try_to_detect_hidden_images = On