summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-04-29 18:48:21 +0200
committerczaks <marcin@6irc.net>2014-04-29 18:48:57 +0200
commit4287822229fd308c4b6afabeb43fc7abb7f44f6b (patch)
tree6a117f9b88554fd6765c666e624fbccb668786fa /inc
parent932c451f9eb15cfcad96b3605adc81de6fc86eab (diff)
limit the cli debug uptput
Diffstat (limited to 'inc')
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
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();
}