summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/acl.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/acl.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/acl.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/acl.inc.php.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/templates/roundcubemail/acl.inc.php.tpl b/share/templates/roundcubemail/acl.inc.php.tpl
index 0e26cd2..12cdc51 100644
--- a/share/templates/roundcubemail/acl.inc.php.tpl
+++ b/share/templates/roundcubemail/acl.inc.php.tpl
@@ -3,4 +3,9 @@
\$rcmail_config['acl_users_source'] = 'kolab_addressbook';
\$rcmail_config['acl_users_field'] = 'mail';
\$rcmail_config['acl_users_filter'] = 'objectClass=kolabInetOrgPerson';
+
+ if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)) {
+ include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__));
+ }
+
?>