"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 14:59:59 +00:00
parent 8e1221940a
commit 40f32b5d74

View File

@ -1164,7 +1164,8 @@
if ($remove-- < 0)
{
$ret[] = (isset($level['class'])?$level['class'].'::':'').$level['function'].
(!$level['class'] && !is_object($level['args'][0]) ? '('.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))