mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Some more database stuff
This commit is contained in:
parent
e16afc0450
commit
021a4fad71
7 changed files with 24 additions and 34 deletions
|
@ -181,7 +181,7 @@ class dba {
|
|||
if ($log) {
|
||||
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||
@file_put_contents($a->config["system"]["db_log_index"], datetime_convert()."\t".
|
||||
$row['key']."\t".$row['rows']."\t".
|
||||
$row['key']."\t".$row['rows']."\t".$row['Extra']."\t".
|
||||
basename($backtrace[1]["file"])."\t".
|
||||
$backtrace[1]["line"]."\t".$backtrace[2]["function"]."\t".
|
||||
substr($query, 0, 2000)."\n", FILE_APPEND);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue