|
1 | 1 | <?php |
2 | | - |
3 | 2 | /* |
4 | | -|-------------------------------------------------------------------------- |
5 | | -| ERROR DISPLAY |
6 | | -|-------------------------------------------------------------------------- |
7 | | -| In development, we want to show as many errors as possible to help |
8 | | -| make sure they don't make it to production. And save us hours of |
9 | | -| painful debugging. |
10 | | -*/ |
| 3 | + |-------------------------------------------------------------------------- |
| 4 | + | ERROR DISPLAY |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | In development, we want to show as many errors as possible to help |
| 7 | + | make sure they don't make it to production. And save us hours of |
| 8 | + | painful debugging. |
| 9 | + */ |
11 | 10 | error_reporting(-1); |
12 | 11 | ini_set('display_errors', 1); |
13 | 12 |
|
14 | 13 | /* |
15 | | -|-------------------------------------------------------------------------- |
16 | | -| DEBUG BACKTRACES |
17 | | -|-------------------------------------------------------------------------- |
18 | | -| If true, this constant will tell the error screens to display debug |
19 | | -| backtraces along with the other error information. If you would |
20 | | -| prefer to not see this, set this value to false. |
21 | | -*/ |
22 | | -define('SHOW_DEBUG_BACKTRACE', true); |
| 14 | + |-------------------------------------------------------------------------- |
| 15 | + | DEBUG BACKTRACES |
| 16 | + |-------------------------------------------------------------------------- |
| 17 | + | If true, this constant will tell the error screens to display debug |
| 18 | + | backtraces along with the other error information. If you would |
| 19 | + | prefer to not see this, set this value to false. |
| 20 | + */ |
| 21 | +defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true); |
23 | 22 |
|
24 | 23 | /* |
25 | | -|-------------------------------------------------------------------------- |
26 | | -| DEBUG MODE |
27 | | -|-------------------------------------------------------------------------- |
28 | | -| Debug mode is an experimental flag that can allow changes throughout |
29 | | -| the system. This will control whether Kint is loaded, and a few other |
30 | | -| items. It can always be used within your own application too. |
31 | | -*/ |
| 24 | + |-------------------------------------------------------------------------- |
| 25 | + | DEBUG MODE |
| 26 | + |-------------------------------------------------------------------------- |
| 27 | + | Debug mode is an experimental flag that can allow changes throughout |
| 28 | + | the system. This will control whether Kint is loaded, and a few other |
| 29 | + | items. It can always be used within your own application too. |
| 30 | + */ |
32 | 31 |
|
33 | | -define('CI_DEBUG', 1); |
| 32 | +defined('CI_DEBUG') || define('CI_DEBUG', 1); |
0 commit comments