From 4287822229fd308c4b6afabeb43fc7abb7f44f6b 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 51fedf46..bcde41d0 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(); }