summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/db.inc.php.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/roundcubemail/db.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/db.inc.php.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/templates/roundcubemail/db.inc.php.tpl b/share/templates/roundcubemail/db.inc.php.tpl
index 8b8db48..caec957 100644
--- a/share/templates/roundcubemail/db.inc.php.tpl
+++ b/share/templates/roundcubemail/db.inc.php.tpl
@@ -4,6 +4,10 @@
\$rcmail_config['db_dsnw'] = '$mysql_uri';
+ if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)) {
+ include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__));
+ }
+
\$rcmail_config['db_max_length'] = 512000;
\$rcmail_config['db_persistent'] = TRUE;
\$rcmail_config['db_table_users'] = 'users';