From f6d11dea3e16f825744899e3bdfc66d7b2c278ac Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 27 Feb 2005 17:13:03 +0000 Subject: [PATCH] default to imap server address git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8903 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/change_password/backend/ldap.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/change_password/backend/ldap.php b/plugins/change_password/backend/ldap.php index b4562c6e..31a7968d 100644 --- a/plugins/change_password/backend/ldap.php +++ b/plugins/change_password/backend/ldap.php @@ -7,6 +7,9 @@ * @subpackage change_password */ +/** get imap server global */ +global $imapServerAddress; + /** Default plugin configuration.*/ /** * Address of ldap server. @@ -22,7 +25,7 @@ * @global string $cpw_ldap_server */ global $cpw_ldap_server; -$cpw_ldap_server='localhost'; +$cpw_ldap_server=$imapServerAddress; /** * Port of ldap server. -- 2.25.1