From d40dd8eed2e09c83c92be8428b3d3db7901f1979 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 3 Jun 2010 08:02:12 +0000 Subject: - Support dynamic hostname (%d/%n) variables in configuration options (#1485438) git-svn-id: https://svn.roundcube.net/trunk@3701 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_ldap.php | 1 + 1 file changed, 1 insertion(+) (limited to 'roundcubemail/program/include/rcube_ldap.php') diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php index 307e43ee2..63c193ff6 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/program/include/rcube_ldap.php @@ -99,6 +99,7 @@ class rcube_ldap extends rcube_addressbook foreach ($this->prop['hosts'] as $host) { + $host = rcube_parse_host($host); $this->_debug("C: Connect [$host".($this->prop['port'] ? ':'.$this->prop['port'] : '')."]"); if ($lc = @ldap_connect($host, $this->prop['port'])) -- cgit v1.2.3