From: Michael Vogel Date: Sat, 26 May 2012 01:23:18 +0000 (+0200) Subject: Deactivating the test output in db engine X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a612b10b2a1c2d1afbca1fd2f38ebc35110081dc;p=friendica.git Deactivating the test output in db engine --- diff --git a/include/dba.php b/include/dba.php index c19d4a8fc9..7ecce72704 100644 --- a/include/dba.php +++ b/include/dba.php @@ -77,14 +77,14 @@ class dba { $this->error = ''; - @file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND); + //@file_put_contents("/tmp/friendica-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); - @file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND); + //@file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND); if($this->mysqli) { if($this->db->errno)