From 2d0da1c18f8a07ba9d48252f57aa02bdef9c5ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 30 Sep 2023 23:18:07 +0200 Subject: [PATCH] error reporting should always be E_ALL --- web.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web.php b/web.php index 333db3d..6ce08b2 100644 --- a/web.php +++ b/web.php @@ -19,9 +19,8 @@ use RVR\Repository\UserRepository; require 'app.php'; +error_reporting(E_ALL); if (!empty($_ENV['DEV'])) { - error_reporting(E_ALL); - ini_set('display_errors', '1'); } else { ini_set('display_errors', '0');