1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00

limit the cli debug uptput

This commit is contained in:
czaks 2014-04-29 18:48:21 +02:00
parent 29ca1decd9
commit 82a3be0148

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