Skip to content

Commit

Permalink
afup#1416 level error in production
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Feb 14, 2024
1 parent 08f19be commit 607b708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/Afup/Bootstrap/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// mise à jour des paramétrages PHP en fonction de la configuration

if (isset($_ENV['SYMFONY_ENV']) && $_ENV['SYMFONY_ENV'] === 'prod') {
ini_set('error_reporting', E_ALL ^ E_WARNING);
ini_set('error_reporting', E_ALL ^ E_WARNING ^ E_NOTICE);
ini_set('display_errors', 0);
} else {
ini_set('error_reporting', E_ALL);
Expand Down

0 comments on commit 607b708

Please sign in to comment.