From 1b8cdeb644bb1f5471e715bb63d024313d3e96f2 Mon Sep 17 00:00:00 2001 From: Crag-Monkey Date: Sun, 10 Mar 2024 07:02:16 -0500 Subject: [PATCH] Allow customizations to Roundcube settings to persist between updates by including a configuration override file, if it exists (#2333) --- setup/webmail.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/webmail.sh b/setup/webmail.sh index 68042789..a663ebd0 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -145,6 +145,9 @@ cat > $RCM_CONFIG < EOF @@ -166,6 +169,9 @@ cat > ${RCM_PLUGIN_DIR}/carddav/config.inc.php < '1', 'hide' => false, ); +/* Persist Customizations */ +\$file = __DIR__.'/config_override.inc.php'; +\if(file_exists($file)) { include $file; } ?> EOF