error reporting should always be E_ALL #72

Merged
bence merged 1 commits from bugfix/fix-error-reporting into master 2023-09-30 23:37:25 +02:00

View File

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