Author: orzech                       Date: Mon Mar  7 13:30:53 2005 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- proper home location

---- Files affected:
SOURCES:
   lms-PLD.patch (1.5.2.5 -> 1.5.2.6) 

---- Diffs:

================================================================
Index: SOURCES/lms-PLD.patch
diff -u SOURCES/lms-PLD.patch:1.5.2.5 SOURCES/lms-PLD.patch:1.5.2.6
--- SOURCES/lms-PLD.patch:1.5.2.5       Wed Feb 16 20:55:32 2005
+++ SOURCES/lms-PLD.patch       Mon Mar  7 14:30:47 2005
@@ -92,3 +92,25 @@
  $_CONFIG['directories']['smarty_templates_dir'] = (! 
$_CONFIG['directories']['smarty_templates_dir'] ? 
$_CONFIG['directories']['sys_dir'].'/templates' : 
$_CONFIG['directories']['smarty_templates_dir']);
  
  
foreach(lms_parse_ini_file($_CONFIG['directories']['lib_dir'].'/config_defaults.ini',
 TRUE) as $section => $values)
+--- lsm/modules/accountadd.php 2005-03-05 11:03:13.000000000 +0100
++++ lms/modules/accountadd.php 2005-03-07 14:17:47.048620236 +0100
+@@ -75,7 +75,7 @@
+                               array(  $account['ownerid'], 
+                                       $account['login'], 
+                                       crypt($account['passwd1']), 
+-                                      '/home/'.$account['login'],
++                                      '/home/users/'.$account['login'],
+                                       $account['expdate'],
+                                       $account['domainid'],
+                                       $account['type']
+--- lsm/modules/accountedit.php        2005-03-05 11:03:13.000000000 +0100
++++ lms/modules/accountedit.php        2005-03-07 14:18:03.834859599 +0100
+@@ -112,7 +112,7 @@
+                       $LMS->DB->Execute('UPDATE passwd SET ownerid = ?, login 
= ?, home = ?, expdate = ?, domainid = ?, type = ? WHERE id = ?', 
+                               array(  $account['ownerid'], 
+                                       $account['login'], 
+-                                      '/home/'.$account['login'],
++                                      '/home/users/'.$account['login'],
+                                       $account['expdate'],
+                                       $account['domainid'],
+                                       $account['type'],
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lms-PLD.patch?r1=1.5.2.5&r2=1.5.2.6&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to