Minor improvements (#723)

This commit is contained in:
Roman Kelesidis 2023-05-25 13:26:58 +07:00 committed by GitHub
commit d951ee0a84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View file

@ -102,6 +102,7 @@ function bb_setcookie($name, $val, int $lifetime = COOKIE_PERSIST, bool $httponl
if (DBG_USER) {
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
} else {
unset($_COOKIE['explain']);
}