function_backtrace:

- dont output first function param for unserialize()
- limit output of function param to 64 chars
This commit is contained in:
Ralf Becker 2008-04-18 15:37:55 +00:00
parent 8cbe7774a8
commit 506a6573c8

View File

@ -1170,7 +1170,8 @@
if ($remove-- < 0)
{
$ret[] = (isset($level['class'])?$level['class'].'::':'').$level['function'].
(!$level['class'] ? '('.str_replace(EGW_SERVER_ROOT,'',$level['args'][0]).')' : '');
(!$level['class'] && !is_object($level['args'][0]) && $level['function'] != 'unserialize' ?
'('.substr(str_replace(EGW_SERVER_ROOT,'',$level['args'][0]),0,64).')' : '');
}
}
if (is_array($ret))