Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | |-------------------------------------------------------------------------- |
| 5 | | ERROR DISPLAY |
| 6 | |-------------------------------------------------------------------------- |
| 7 | | Don't show ANY in production environments. Instead, let the system catch |
| 8 | | it and display a generic error message. |
| 9 | | |
| 10 | | If you set 'display_errors' to '1', CI4's detailed error report will show. |
| 11 | */ |
| 12 | error_reporting(E_ALL & ~E_DEPRECATED); |
| 13 | // If you want to suppress more types of errors. |
| 14 | // error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); |
| 15 | ini_set('display_errors', '0'); |
| 16 | |
| 17 | /* |
| 18 | |-------------------------------------------------------------------------- |
| 19 | | DEBUG MODE |
| 20 | |-------------------------------------------------------------------------- |
| 21 | | Debug mode is an experimental flag that can allow changes throughout |
| 22 | | the system. It's not widely used currently, and may not survive |
| 23 | | release of the framework. |
| 24 | */ |
| 25 | defined('CI_DEBUG') || define('CI_DEBUG', false); |