Changeset 997 for trunk/common/log.php


Ignore:
Timestamp:
01/29/09 14:55:38 (3 years ago)
Author:
strat.cristian@…
Message:

Log remote IP and X-Forwarded-For header on job submit, textblock create/edit, and attachment upload. For privacy considerations, IP addresses are only displayed to admins and helpers.

  • Contains database migration script.
  • Adds new simplified security action. (sensitive-info)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/log.php

    r934 r997  
    112112 
    113113// Use this for warning messages. 
    114 function log_warn($message, $include_origin = false) { 
     114function log_warn($message, $include_origin = false, $backtrace_level = 0) { 
    115115    if ($include_origin) { 
    116         $message = format_message_backtrace($message); 
     116        $message = format_message_backtrace($message, $backtrace_level); 
    117117    } 
    118118    trigger_error_split($message, E_USER_WARNING); 
Note: See TracChangeset for help on using the changeset viewer.