Skip to content

Commit b6ab73f

Browse files
committed
docs: add previous error_reporting() as comment
1 parent 010835a commit b6ab73f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Config/Boot/production.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
| If you set 'display_errors' to '1', CI4's detailed error report will show.
1111
*/
1212
error_reporting(-1);
13+
// If you want to suppress some types of errors.
14+
// error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
1315
ini_set('display_errors', '0');
1416

1517
/*

0 commit comments

Comments
 (0)