From 639fa02f952574c515ce4d071d33a31ac18419e5 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Fri, 7 Sep 2012 12:44:29 +0100 Subject: Include $_SERVER["HTTP_HOST"] specific configuration if it is available. --- share/templates/roundcubemail/acl.inc.php.tpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/templates/roundcubemail/acl.inc.php.tpl') 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__)); + } + ?> -- cgit v1.1