Compare commits

...

2 Commits

Author SHA1 Message Date
276a289ca7
Merge pull request 'error reporting should always be E_ALL' (!80) from bugfix/fix-error-reporting into develop
All checks were successful
mapguesser/pipeline/head This commit looks good
Reviewed-on: #80
2023-09-27 00:26:38 +02:00
e684365612
error reporting should always be E_ALL
All checks were successful
mapguesser/pipeline/pr-develop This commit looks good
2023-09-26 23:49:36 +02:00

View File

@ -16,9 +16,8 @@ use MapGuesser\Repository\UserRepository;
require 'main.php'; require 'main.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');