2020-05-27 18:46:16 +02:00
|
|
|
<?php
|
2020-08-04 11:25:22 +00:00
|
|
|
|
2021-06-08 09:52:11 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2021-04-02 17:20:02 +00:00
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
* ERROR DISPLAY
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
* In development, we want to show as many errors as possible to help
|
|
|
|
* make sure they don't make it to production. And save us hours of
|
|
|
|
* painful debugging.
|
2023-11-15 16:17:43 +00:00
|
|
|
*
|
|
|
|
* If you set 'display_errors' to '1', CI4's detailed error report will show.
|
2020-05-27 18:46:16 +02:00
|
|
|
*/
|
2024-01-01 22:54:59 +00:00
|
|
|
error_reporting(E_ALL);
|
2020-05-27 18:46:16 +02:00
|
|
|
ini_set('display_errors', '1');
|
|
|
|
|
2021-04-02 17:20:02 +00:00
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
* DEBUG BACKTRACES
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
* If true, this constant will tell the error screens to display debug
|
|
|
|
* backtraces along with the other error information. If you would
|
|
|
|
* prefer to not see this, set this value to false.
|
2020-05-27 18:46:16 +02:00
|
|
|
*/
|
|
|
|
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
|
|
|
|
|
2021-04-02 17:20:02 +00:00
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
* DEBUG MODE
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
* Debug mode is an experimental flag that can allow changes throughout
|
|
|
|
* the system. This will control whether Kint is loaded, and a few other
|
|
|
|
* items. It can always be used within your own application too.
|
2020-05-27 18:46:16 +02:00
|
|
|
*/
|
2021-04-02 17:20:02 +00:00
|
|
|
defined('CI_DEBUG') || define('CI_DEBUG', true);
|