Browse Source

default to imap server address

tokul 20 years ago
parent
commit
354961a4a9
1 changed files with 4 additions and 1 deletions
  1. 4 1
      plugins/change_password/backend/ldap.php

+ 4 - 1
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.