limit the cli debug uptput

This commit is contained in:
czaks 2014-04-29 18:48:21 +02:00
parent b94e39148b
commit 18e9c32a0e

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