mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
store formatted backtrace to sql log
This commit is contained in:
@@ -8,8 +8,7 @@ class Logger_SQL {
|
||||
$errstr = Db::get()->escape_string($errstr);
|
||||
$file = Db::get()->escape_string($file);
|
||||
$line = Db::get()->escape_string($line);
|
||||
$context = ''; // backtrace is a lot of data which is not really critical to store
|
||||
//$context = $this->dbh->escape_string(serialize($context));
|
||||
$context = DB::get()->escape_string($context);
|
||||
|
||||
$owner_uid = $_SESSION["uid"] ? $_SESSION["uid"] : "NULL";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user