ci4
1<?php
2
3/*
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|
11| If you set 'display_errors' to '1', CI4's detailed error report will show.
12*/
13error_reporting(E_ALL);14ini_set('display_errors', '1');15
16/*
17|--------------------------------------------------------------------------
18| DEBUG BACKTRACES
19|--------------------------------------------------------------------------
20| If true, this constant will tell the error screens to display debug
21| backtraces along with the other error information. If you would
22| prefer to not see this, set this value to false.
23*/
24defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);25
26/*
27|--------------------------------------------------------------------------
28| DEBUG MODE
29|--------------------------------------------------------------------------
30| Debug mode is an experimental flag that can allow changes throughout
31| the system. This will control whether Kint is loaded, and a few other
32| items. It can always be used within your own application too.
33*/
34defined('CI_DEBUG') || define('CI_DEBUG', true);35