Subversion Repositories munaweb

Rev

Rev 157 | Rev 162 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 157 Rev 160
Line 22... Line 22...
22
 
22
 
23
    // Remove first item from backtrace as it's this function which is redundant.
23
    // Remove first item from backtrace as it's this function which is redundant.
24
    $trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1);
24
    $trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1);
25
 
25
 
26
    // Renumber backtrace items.
26
    // Renumber backtrace items.
27
    $trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace);
27
    $trace = preg_replace_callback('/^#(\d+)/m', '\'#\' . ($1 - 1)', $trace);
28
 
28
 
29
    return $trace;
29
    return $trace;
30
}
30
}
31
 
31
 
32
class eBayPlatformNotificationListener extends eBayPlatformNotifications {
32
class eBayPlatformNotificationListener extends eBayPlatformNotifications {