mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +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 "<div class='alert alert-danger'><h4>e107::unserialize() Parser Error (json)</h4></div>";
|
||||||
echo "<pre>";
|
echo "<pre>";
|
||||||
debug_print_backtrace();
|
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3);
|
||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -505,7 +505,7 @@ class e_array {
|
|||||||
$message .= print_a($ArrayData,true);
|
$message .= print_a($ArrayData,true);
|
||||||
echo "<div class='alert alert-danger'><h4>e107::unserialize() Parser Error</h4>". $message. "</div>";
|
echo "<div class='alert alert-danger'><h4>e107::unserialize() Parser Error</h4>". $message. "</div>";
|
||||||
echo "<pre>";
|
echo "<pre>";
|
||||||
debug_print_backtrace();
|
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3);
|
||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user