1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Enabled logging of responses for users with debug enabled

This commit is contained in:
Jon Ziebell 2021-01-22 08:31:45 -05:00
parent 2a91f0c16b
commit 53d3e52609

View File

@ -49,6 +49,7 @@ class external_api extends cora\api {
$user = $this->api('user', 'get', $this->session->get_user_id());
if ($user['debug'] === true) {
$this::$log_mysql = 'all';
$this::$log_mysql_verbose = true;
}
$this->request_timestamp = time();