limit the cli debug uptput

This commit is contained in:
czaks 2014-04-29 18:48:21 +02:00
parent 932c451f9e
commit 4287822229

View File

@ -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();
}