Skip to content

Commit 58f2c91

Browse files
committed
config: change error_reporting to -1 in production
In production in many cases -1 is also appropriate.
1 parent c4dba01 commit 58f2c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Config/Boot/production.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
|
1010
| If you set 'display_errors' to '1', CI4's detailed error report will show.
1111
*/
12+
error_reporting(-1);
1213
ini_set('display_errors', '0');
13-
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
1414

1515
/*
1616
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)