parent
80afe13a26
commit
993d45d2f5
|
@ -752,8 +752,8 @@ class Database
|
||||||
@file_put_contents(
|
@file_put_contents(
|
||||||
$this->config->get('system', 'db_log'),
|
$this->config->get('system', 'db_log'),
|
||||||
DateTimeFormat::utcNow() . "\t" . $duration . "\t" .
|
DateTimeFormat::utcNow() . "\t" . $duration . "\t" .
|
||||||
basename($backtrace[1]["file"]) . "\t" .
|
basename($backtrace[1]['file']) . "\t" .
|
||||||
$backtrace[1]["line"] . "\t" . $backtrace[2]["function"] . "\t" .
|
$backtrace[1]['line'] . "\t" . $backtrace[2]['function'] . "\t" .
|
||||||
substr($this->replaceParameters($sql, $args), 0, 4000) . "\n",
|
substr($this->replaceParameters($sql, $args), 0, 4000) . "\n",
|
||||||
FILE_APPEND
|
FILE_APPEND
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user