diff --git a/app/Config/Boot/production.php b/app/Config/Boot/production.php index ae19b2315468..aa3091bdc6e0 100644 --- a/app/Config/Boot/production.php +++ b/app/Config/Boot/production.php @@ -10,6 +10,8 @@ | If you set 'display_errors' to '1', CI4's detailed error report will show. */ error_reporting(-1); +// If you want to suppress some types of errors. +// error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); ini_set('display_errors', '0'); /*