Merge pull request 'error reporting should always be E_ALL' (!72) from bugfix/fix-error-reporting into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good

Reviewed-on: #72
This commit is contained in:
Bence Pőcze 2023-09-30 23:37:24 +02:00 committed by Gitea
commit 9b8fcaad9a
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

View File

@ -19,9 +19,8 @@ use RVR\Repository\UserRepository;
require 'app.php'; require 'app.php';
if (!empty($_ENV['DEV'])) {
error_reporting(E_ALL); error_reporting(E_ALL);
if (!empty($_ENV['DEV'])) {
ini_set('display_errors', '1'); ini_set('display_errors', '1');
} else { } else {
ini_set('display_errors', '0'); ini_set('display_errors', '0');