Changeset 1879
- Timestamp:
- 08/23/07 10:18:41 (6 years ago)
- Location:
- alternc/trunk
- Files:
-
- 2 edited
-
bureau/class/m_mail.php (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/class/m_mail.php
r1821 r1879 535 535 536 536 $f=fopen("/var/lib/squirrelmail/data/".$mail."_".$dom.".pref","wb"); 537 $g=0; $g=@fopen("/etc/squirrelmail/default_pref","rb"); 537 538 fputs($f,"email_address=$mail@$dom\nchosen_theme=default_theme.php\n"); 539 if ($g) { 540 while ($s=fgets($g,1024)) { 541 if (substr($s,0,14)!="email_address=" && substr($s,0,13)!="chosen_theme=") { 542 fputs($f,$s); 543 } 544 } 545 fclose($g); 546 } 538 547 fclose($f); 539 $f=fopen("/var/lib/squirrelmail/data/".$mail."@".$dom.".pref","wb"); 540 fputs($f,"email_address=$mail@$dom\nchosen_theme=default_theme.php\n"); 541 fclose($f); 548 @copy("/var/lib/squirrelmail/data/".$mail."_".$dom.".pref","/var/lib/squirrelmail/data/".$mail."@".$dom.".pref"); 542 549 exec("/usr/lib/alternc/mail_add ".$mail."_".$dom." ".$cuid); 543 550 return true; -
alternc/trunk/debian/changelog
r1878 r1879 1 1 alternc (0.9.6.4) stable; urgency=low 2 2 3 * We copy /etc/squirrelmail/default_pref content for new accounts in _createpop (#1015) 3 4 * we configure postfix even if main.cf don't currently exist (#1009) 4 5 * Fixed the 'view' link issues (no urlencode) (#690)
Note: See TracChangeset
for help on using the changeset viewer.
