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:
parent
2a91f0c16b
commit
53d3e52609
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user