From a8fdf565c7594baa2c0faa23f5d5c38fda380a0e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Feb 2019 10:06:45 +0100 Subject: lib/mysql.php: deactivate debugging log for now --- lib/mysql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/mysql.php') diff --git a/lib/mysql.php b/lib/mysql.php index c6d7fdf..2193ab1 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -21,7 +21,7 @@ function mysql_log_duration_and_trace($start) { $trace = debug_backtrace(); array_shift($trace); // silently fail if logfile is unavailable - if (($fp = fopen(BASE . '/log', 'a')) !== false) { +/* if (($fp = fopen(BASE . '/log', 'a')) !== false) { flock($fp, LOCK_EX); fwrite($fp, date('Y-m-d H:i:s') . " " . @@ -31,7 +31,7 @@ function mysql_log_duration_and_trace($start) { ); flock($fp, LOCK_UN); fclose($fp); - } + } */ } function mysql_run_query($query) { -- cgit v1.2.3-70-g09d2