From 18e9c32a0eed1c1b4134f2dbfed293cec9c18e25 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 29 Apr 2014 18:48:21 +0200 Subject: [PATCH] limit the cli debug uptput --- inc/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/display.php b/inc/display.php index 2cd4d3b0..6772e77d 100644 --- a/inc/display.php +++ b/inc/display.php @@ -82,7 +82,7 @@ function error($message, $priority = true, $debug_stuff = false) { if (defined('STDIN')) { // Running from CLI echo('Error: ' . $message . "\n"); - debug_print_backtrace(); + debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); die(); }