error reporting should always be E_ALL #80

Merged
bence merged 1 commits from bugfix/fix-error-reporting into develop 2023-09-27 00:26:38 +02:00

View File

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