1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

implement error log viewer

This commit is contained in:
Andrew Dolgov
2013-04-16 20:16:15 +04:00
parent 889a5f9f19
commit 4e53956add
5 changed files with 58 additions and 4 deletions

View File

@@ -16,7 +16,8 @@ class Logger_SQL {
$errstr = db_escape_string($this->link, $errstr);
$file = db_escape_string($this->link, $file);
$line = db_escape_string($this->link, $line);
$context = db_escape_string($this->link, json_encode($context));
$context = ''; // backtrace is a lot of data which is not really critical to store
//$context = db_escape_string($this->link, serialize($context));
$owner_uid = $_SESSION["uid"] ? $_SESSION["uid"] : "NULL";