phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: setup config.php,1.72.2.3,1.72.2.4


From: Lars Kneschke <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup config.php,1.72.2.3,1.72.2.4
Date: Sat, 23 Nov 2002 18:54:59 -0500

Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv1387

Modified Files:
      Tag: Version-0_9_14-branch
        config.php 
Log Message:
make the update of ldap password working again


Index: config.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/config.php,v
retrieving revision 1.72.2.3
retrieving revision 1.72.2.4
diff -C2 -r1.72.2.3 -r1.72.2.4
*** config.php  12 Aug 2002 10:28:19 -0000      1.72.2.3
--- config.php  23 Nov 2002 23:54:56 -0000      1.72.2.4
***************
*** 122,126 ****
                        /* echo '<br>Updating: ' . $setting . '=' . $value; */
                        /* Don't erase passwords, since we also do not print 
them below */
!                       if(!ereg('passwd',$setting) && 
!ereg('password',$setting) && !ereg('root_pw',$setting))
                        {
                                @$GLOBALS['phpgw_setup']->db->query("DELETE 
FROM $configtbl WHERE config_name='" . $setting . "'");
--- 122,133 ----
                        /* echo '<br>Updating: ' . $setting . '=' . $value; */
                        /* Don't erase passwords, since we also do not print 
them below */
!                       #
!                       # added by lkneschke 23.11.2002
!                       # if the key is not passwd, password or root_pw OR the 
value is not empty
!                       # it needs to be deleted
!                       if(!ereg('passwd',$setting) &&
!                          !ereg('password',$setting) &&
!                          !ereg('root_pw',$setting) ||
!                          !empty($value))
                        {
                                @$GLOBALS['phpgw_setup']->db->query("DELETE 
FROM $configtbl WHERE config_name='" . $setting . "'");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]