From 5439d333ec92fd91a473611b8ab88c14da8312ad Mon Sep 17 00:00:00 2001 From: Rutger Wessels Date: Sat, 4 Aug 2012 20:15:40 +0200 Subject: add command line option '-quiet' to make update.php more quiet --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index c6151225f..3da777135 100644 --- a/include/functions.php +++ b/include/functions.php @@ -112,6 +112,9 @@ * @return void */ function _debug($msg) { + if (defined('QUIET') && QUIET) { + return; + } $ts = strftime("%H:%M:%S", time()); if (function_exists('posix_getpid')) { $ts = "$ts/" . posix_getpid(); -- cgit v1.2.3