forked from extern/egroupware
function_backtrace:
- dont output first function param for unserialize() - limit output of function param to 64 chars
This commit is contained in:
parent
8cbe7774a8
commit
506a6573c8
@ -1170,7 +1170,8 @@
|
|||||||
if ($remove-- < 0)
|
if ($remove-- < 0)
|
||||||
{
|
{
|
||||||
$ret[] = (isset($level['class'])?$level['class'].'::':'').$level['function'].
|
$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))
|
if (is_array($ret))
|
||||||
|
Loading…
Reference in New Issue
Block a user