Using custom configs for PhpMyAdmin, SquirrelMail and Roundcube


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » CustomBuild

Using custom configs for PhpMyAdmin, SquirrelMail and RoundcubeLast Modified: Mar 1, 2017, 8:26 pm
If you've got custom options enabled for any of PhpMyAdmin, SquirrelMail or Roundcube, then you'll need a way to maintain those customizations between updates by custombuild.

To do that, you'd simply copy your custom config to the relevant path.
The 3 paths are as follows:

#phpMyAdmin
/usr/local/directadmin/custombuild/custom/phpmyadmin/config.inc.php
/usr/local/directadmin/custombuild/custom/phpmyadmin/.htaccess
/usr/local/directadmin/custombuild/custom/phpmyadmin/themes

#SquirrelMail
/usr/local/directadmin/custombuild/custom/squirrelmail/config.php

#Roundcube >= 1.0.0
/usr/local/directadmin/custombuild/custom/roundcube/config.inc.php
#Roundcube <= 0.9.5
/usr/local/directadmin/custombuild/custom/roundcube/main.inc.php
/usr/local/directadmin/custombuild/custom/roundcube/db.inc.php
#RoundCube && CustomBuild 2.0
/usr/local/directadmin/custombuild/custom/roundcube/.htaccess

If the relevant config exists, then the custombuild script will copy it to the relevant path of the newly installed script, somewhere in /var/www/html/*.

Also, the following directory:

/usr/local/directadmin/custombuild/custom/roundcube/plugins

if it exists, will have it's contents copied into:

/var/www/html/roundcube/plugins/

overwriting any duplicates.  This can be used to copy specific files/configs/directories for customized plugins over to the new version.

Similarly, if this exists:

/usr/local/directadmin/custombuild/custom/roundcube/skins

it's contents will be copied into:

/var/www/html/roundcube/skins/

overwriting any duplicates.

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST