aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-05-29 16:16:37 +0200
committerMichael Vogel <icarus@dabo.de>2012-05-29 16:16:37 +0200
commit8202355df93920623ba3068119285b3c7f5c6c54 (patch)
tree831f7e9bf894b168c919e445bb828a5abc814557 /include/dba.php
parent68757f25042b02624bfb748c25029023b3082f62 (diff)
downloadvolse-hubzilla-8202355df93920623ba3068119285b3c7f5c6c54.tar.gz
volse-hubzilla-8202355df93920623ba3068119285b3c7f5c6c54.tar.bz2
volse-hubzilla-8202355df93920623ba3068119285b3c7f5c6c54.zip
Disabled logging of SQL statements
Diffstat (limited to 'include/dba.php')
-rw-r--r--include/dba.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dba.php b/include/dba.php
index 20c08c2dd..881097f30 100644
--- a/include/dba.php
+++ b/include/dba.php
@@ -77,16 +77,16 @@ class dba {
$this->error = '';
- if (get_config("system", "db_log") != "")
- @file_put_contents(get_config("system", "db_log"), datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND);
+ //if (get_config("system", "db_log") != "")
+ // @file_put_contents(get_config("system", "db_log"), datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND);
if($this->mysqli)
$result = @$this->db->query($sql);
else
$result = @mysql_query($sql,$this->db);
- if (get_config("system", "db_log") != "")
- @file_put_contents(get_config("system", "db_log"), datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND);
+ //if (get_config("system", "db_log") != "")
+ // @file_put_contents(get_config("system", "db_log"), datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND);
if($this->mysqli) {
if($this->db->errno)