1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:25:56 +00:00

add command line option '-quiet' to make update.php more quiet

This commit is contained in:
Rutger Wessels
2012-08-04 20:15:40 +02:00
parent d68629dc09
commit 5439d333ec
2 changed files with 22 additions and 15 deletions

View File

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