diff options
author | Andrew Dolgov <[email protected]> | 2011-11-11 13:09:11 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-11 13:09:11 +0400 |
commit | 68c48b7d48b3d31139bb2bcd0c005635f0d023e6 (patch) | |
tree | 475d4f867e2e726f3325bd90210be3b9cc689ac1 | |
parent | c0644ee424ead2e1c145ed8756738d4bd8d359d4 (diff) |
db: disable qlog
-rw-r--r-- | db.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,9 +52,9 @@ function db_escape_string($s, $strip_tags = true) { } function db_query($link, $query, $die_on_error = true) { - if ($_REQUEST["qlog"]) - error_log($_SESSION["uid"] . ":" . $_REQUEST["op"] . "/" . $_REQUEST["subop"] . - " $query\n", 3, "/tmp/ttrss-query.log"); + //if ($_REQUEST["qlog"]) + // error_log($_SESSION["uid"] . ":" . $_REQUEST["op"] . "/" . $_REQUEST["subop"] . + // " $query\n", 3, "/tmp/ttrss-query.log"); if (DB_TYPE == "pgsql") { $result = pg_query($link, $query); |