mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-30 04:01:05 -05:00
- Bump composer.json/lock to codeigniter 4.4.3 - Fix base_url() call without arguments - Updated files in the project space - Bump composer.json/lock to kint 5.0.4 - Update composer.json to include missing CI elements - Corrected composer.json regarding minimum versions - Updated README.md to reflect CI4 implementation - Migrated some Routes.php to Routing.php - Removed deprecated settings from Config/App.php
39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
<?php
|
||
|
||
/*
|
||
* The environment testing is reserved for PHPUnit testing. It has special
|
||
* conditions built into the framework at various places to assist with that.
|
||
* You can’t use it for your development.
|
||
*/
|
||
|
||
/*
|
||
|--------------------------------------------------------------------------
|
||
| 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.
|
||
*/
|
||
error_reporting(-1);
|
||
ini_set('display_errors', '1');
|
||
|
||
/*
|
||
|--------------------------------------------------------------------------
|
||
| 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.
|
||
*/
|
||
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
|
||
|
||
/*
|
||
|--------------------------------------------------------------------------
|
||
| DEBUG MODE
|
||
|--------------------------------------------------------------------------
|
||
| Debug mode is an experimental flag that can allow changes throughout
|
||
| the system. It's not widely used currently, and may not survive
|
||
| release of the framework.
|
||
*/
|
||
defined('CI_DEBUG') || define('CI_DEBUG', true);
|