1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-21 13:09:41 +01:00

limit the cli debug uptput

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

View File

@ -82,7 +82,7 @@ function error($message, $priority = true, $debug_stuff = false) {
if (defined('STDIN')) { if (defined('STDIN')) {
// Running from CLI // Running from CLI
echo('Error: ' . $message . "\n"); echo('Error: ' . $message . "\n");
debug_print_backtrace(); debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
die(); die();
} }