summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mysql.php4
1 files changed, 2 insertions, 2 deletions
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) {