mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Limit debug backtrace
This commit is contained in:
@@ -450,7 +450,7 @@ class e_array {
|
||||
{
|
||||
echo "<div class='alert alert-danger'><h4>e107::unserialize() Parser Error (json)</h4></div>";
|
||||
echo "<pre>";
|
||||
debug_print_backtrace();
|
||||
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
@@ -505,7 +505,7 @@ class e_array {
|
||||
$message .= print_a($ArrayData,true);
|
||||
echo "<div class='alert alert-danger'><h4>e107::unserialize() Parser Error</h4>". $message. "</div>";
|
||||
echo "<pre>";
|
||||
debug_print_backtrace();
|
||||
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user