summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/db.inc.php.tpl
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-07 12:44:29 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-07 12:44:29 +0100
commit639fa02f952574c515ce4d071d33a31ac18419e5 (patch)
tree3096160bb379d8aef1143f772d4dda82006ec997 /share/templates/roundcubemail/db.inc.php.tpl
parent0b3c16cae2c6adef3f928cb7e29cfdc11a18f877 (diff)
downloadpykolab-639fa02f952574c515ce4d071d33a31ac18419e5.tar.gz
Include $_SERVER["HTTP_HOST"] specific configuration if it is available.
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';