Bugsnag integration and some bugfixes in for cycles.

This commit is contained in:
Yuriy Pikhtarev 2017-05-24 01:23:28 +03:00
commit f7cc55b984
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
10 changed files with 39 additions and 25 deletions

View file

@ -55,6 +55,7 @@
* Registration
* Email
* Debug
* Bugsnag error reporting
* Special users (dbg_users, unlimited_users, super_admins)
* Log options
* Error reporting
@ -417,6 +418,12 @@ define('SQL_LOG_SLOW_QUERIES', true); // log sql slow queries
define('SQL_SLOW_QUERY_TIME', 10); // slow query in seconds
define('SQL_PREPEND_SRC_COMM', false); // prepend source file comment to sql query
// Bugsnag error reporting
$bb_cfg['bugsnag'] = [
'enabled' => false,
'api_key' => '',
];
// Special users
$bb_cfg['dbg_users'] = array(
# user_id => 'name',