Changeset 1953 in subversion


Ignore:
Timestamp:
Oct 7, 2008 12:54:07 PM (5 years ago)
Author:
alec
Message:
  • Write username instead of id in sendmail log (#1485477)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r1931 r1953  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42008/10/07 (alec) 
     5---------- 
     6- Write username instead of id in sendmail log (#1485477) 
     7- Fix htmlspecialchars() use for PHP version < 5.2.3 (#1485475) 
     8- Fix js keywords escaping in json_serialize() for IE/Opera (#1485472) 
    39 
    4102008/10/03 (alec) 
  • trunk/roundcubemail/program/steps/mail/func.inc

    r1942 r1953  
    11551155function rcmail_deliver_message(&$message, $from, $mailto) 
    11561156{ 
    1157   global $CONFIG; 
     1157  global $CONFIG, $RCMAIL; 
    11581158 
    11591159  $msg_body = $message->get(); 
     
    12111211     
    12121212    if ($CONFIG['smtp_log']) 
    1213       write_log('sendmail', sprintf("[%s] User: %d on %s; Message for %s; %s", 
     1213      write_log('sendmail', sprintf("[%s] User: %s on %s; Message for %s; %s", 
    12141214                date("d-M-Y H:i:s O", mktime()), 
    1215                 $_SESSION['user_id'], 
     1215                $RCMAIL->user->get_username(), 
    12161216                $_SERVER['REMOTE_ADDR'], 
    12171217                $mailto, 
Note: See TracChangeset for help on using the changeset viewer.