Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 4 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * The environment testing is reserved for PHPUnit testing. It has special |
| 5 | * conditions built into the framework at various places to assist with that. |
| 6 | * You can’t use it for your development. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | |-------------------------------------------------------------------------- |
| 11 | | ERROR DISPLAY |
| 12 | |-------------------------------------------------------------------------- |
| 13 | | In development, we want to show as many errors as possible to help |
| 14 | | make sure they don't make it to production. And save us hours of |
| 15 | | painful debugging. |
| 16 | */ |
| 17 | error_reporting(E_ALL); |
| 18 | ini_set('display_errors', '1'); |
| 19 | |
| 20 | /* |
| 21 | |-------------------------------------------------------------------------- |
| 22 | | DEBUG BACKTRACES |
| 23 | |-------------------------------------------------------------------------- |
| 24 | | If true, this constant will tell the error screens to display debug |
| 25 | | backtraces along with the other error information. If you would |
| 26 | | prefer to not see this, set this value to false. |
| 27 | */ |
| 28 | defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true); |
| 29 | |
| 30 | /* |
| 31 | |-------------------------------------------------------------------------- |
| 32 | | DEBUG MODE |
| 33 | |-------------------------------------------------------------------------- |
| 34 | | Debug mode is an experimental flag that can allow changes throughout |
| 35 | | the system. It's not widely used currently, and may not survive |
| 36 | | release of the framework. |
| 37 | */ |
| 38 | defined('CI_DEBUG') || define('CI_DEBUG', true); |