Roundcube enable_spellcheck turns off on update

Serra

Well-Known Member
Oct 27, 2005
272
21
168
Florida
I'm having a major issue. Each time Roundcube is updated it turns off the spell check setting and I have an irate customer who calls and complains. (and rightly so, it should stay on). I say its a major issue because I'm sick of setting it to "TRUE" every couple of days and I'm sick of getting yelled at for it being off.

Where can I perminately set the setting enable_spellcheck in main.inc.php to TRUE where it will not be messed up by updates?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
You cannot permanently set the file to not be updated on Roundcube updates. Instead, a /scripts/postupcp script could be created that has a backup copy of the existing configuration file (possibly in /root/main.inc.php.bak) that is copied back to the Roundcube directory. This way the changes are copied back at the end of any upcp that occurs. Roundcube wouldn't update outside upcp unless someone directly issued the command on the system to force an update.
 

Serra

Well-Known Member
Oct 27, 2005
272
21
168
Florida
I'll have to do that. I really can't have the spell checker turning off each time it updates.