mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-23 07:27:05 +00:00
Allow customizations to Roundcube settings to persist between updates by including a configuration override file, if it exists (#2333)
This commit is contained in:
parent
1053340124
commit
1b8cdeb644
@ -145,6 +145,9 @@ cat > $RCM_CONFIG <<EOF;
|
||||
\$config['session_path'] = '/mail/';
|
||||
/* prevent CSRF, requires php 7.3+ */
|
||||
\$config['session_samesite'] = 'Strict';
|
||||
/* Persist Customizations */
|
||||
\$file = __DIR__.'/config_override.inc.php';
|
||||
\if(file_exists($file)) { include $file; }
|
||||
?>
|
||||
EOF
|
||||
|
||||
@ -166,6 +169,9 @@ cat > ${RCM_PLUGIN_DIR}/carddav/config.inc.php <<EOF;
|
||||
'preemptive_auth' => '1',
|
||||
'hide' => false,
|
||||
);
|
||||
/* Persist Customizations */
|
||||
\$file = __DIR__.'/config_override.inc.php';
|
||||
\if(file_exists($file)) { include $file; }
|
||||
?>
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user