File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,12 @@ upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'no'
1919upgrade_config_set_value ' UPGRADE_UPDATE_DNS_TEMPLATES' ' no'
2020upgrade_config_set_value ' UPGRADE_UPDATE_MAIL_TEMPLATES' ' no'
2121upgrade_config_set_value ' UPGRADE_REBUILD_USERS' ' no'
22- upgrade_config_set_value ' UPGRADE_UPDATE_FILEMANAGER_CONFIG' ' false'
22+ upgrade_config_set_value ' UPGRADE_UPDATE_FILEMANAGER_CONFIG' ' false'
23+
24+ if [ -f " /etc/roundcube/config.inc.php" ]; then
25+ sed -i " s/\$ config\['auto_create_user'] = false;/\$ config\['auto_create_user'] = true;/g" /etc/roundcube/config.inc.php
26+ sed -i " s/\$ config\['prefer_html'] = false;/\$ config\['prefer_html'] = true;/g" /etc/roundcube/config.inc.php
27+
28+ # For older installs
29+ sed -i " s/\$ config\['default_host']/\$ config\['imap_host']/g" /etc/roundcube/config.inc.php
30+ fi
You can’t perform that action at this time.
0 commit comments