Changeset 439 for trunk/jabberit_messenger/inc/getphoto.php
- Timestamp:
- 09/18/08 15:20:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/inc/getphoto.php
r417 r439 22 22 private $context; 23 23 private $photo_user = array(); 24 private $handle; 25 24 26 25 27 function __construct() 26 28 { 27 $this->host = "localhost"; 28 $this->dn = "uid=expresso-admin,ou=celepar,dc=ecelepar10612,dc=pr,dc=gov,dc=br"; 29 $this->passwd = "senha"; 30 $this->context = "dc=ecelepar10612,dc=pr,dc=gov,dc=br"; 29 require_once('conf_Ldap_Photos.php'); 30 $this->handle = unserialize(base64_decode($CONF_SERVER)); 31 31 32 $this->refer = true; 32 $this->host = $this->handle['host']; 33 $this->context = $this->handle['context']; 34 $this->dn = $this->handle['dn']; 35 $this->passwd = $this->handle['passwd']; 36 37 $this->refer = false; 33 38 $this->version3 = true; 34 39 } … … 166 171 } 167 172 } 173 168 174 ?> 169
Note: See TracChangeset
for help on using the changeset viewer.