From b6ab73f76fdbc1d948b5e217db4f329c110f5a6f Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 15 Nov 2023 15:49:30 +0900 Subject: [PATCH] docs: add previous error_reporting() as comment --- app/Config/Boot/production.php | 2 ++ 1 file changed, 2 insertions(+) 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'); /*