index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-19 10:06:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-19 10:06:45 +0100 |
commit | a8fdf565c7594baa2c0faa23f5d5c38fda380a0e (patch) | |
tree | a34e68a0593e5b6050b4884e34d9650116c3f917 /lib | |
parent | 37ba3ac0ca27ed3c68be6da97cb68a0a86bd5934 (diff) |
-rw-r--r-- | lib/mysql.php | 4 |
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) { |