Compare commits

...

2 Commits

Author SHA1 Message Date
9b8fcaad9a
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
2023-09-30 23:37:24 +02:00
6bd6ede442
error reporting should always be E_ALL
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-09-30 23:18:42 +02:00

View File

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