Minor improments (#1719)

* Minor improments

* Update CHANGELOG.md

* Updated

* Update common.php
This commit is contained in:
Roman Kelesidis 2024-12-20 20:29:06 +07:00 committed by GitHub
commit edab2300d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View file

@ -89,7 +89,11 @@ if (is_file(BB_PATH . '/library/config.local.php')) {
/**
* Error reporting
*/
define('DBG_USER', isset($_COOKIE[COOKIE_DBG]));
if (env('APP_ENV') === 'local') {
define('DBG_USER', true); // forced debug
} else {
define('DBG_USER', isset($_COOKIE[COOKIE_DBG]));
}
(new \TorrentPier\Dev());
/**