Changeset 439 for trunk/jabberit_messenger/inc
- Timestamp:
- 09/18/08 15:20:21 (16 years ago)
- Location:
- trunk/jabberit_messenger/inc
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/inc/controller.xml
r417 r439 26 26 <item ref="images" js="images" /> 27 27 <item ref="show_hidden" js="show_hidden" /> 28 <item ref="setup" js="setup" path="/var/www/expresso/jabberit_messenger/templates/celepar/"/> 28 29 </js> 29 30 <php path="/var/www/expresso/jabberit_messenger/inc" suffix=".class.php"> … … 34 35 <item ref="ldap_im" alias="photo_ldap" class="ldap_im" method="photo_ldap" prefix="class." suffix=".inc.php"/> 35 36 <item ref="ujabber" alias="AddNewContact" class="ujabber" method="AddNewContact" prefix="class." suffix=".inc.php"/> 37 <item ref="FileDefine" alias="getParams" class="FileDefine" method="getParams" prefix="class." suffix=".inc.php"/> 36 38 </php> 37 39 <xml></xml> -
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.