2020-05-27 18:46:16 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| ERROR DISPLAY
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Don't show ANY in production environments. Instead, let the system catch
|
|
|
|
| it and display a generic error message.
|
|
|
|
*/
|
|
|
|
ini_set('display_errors', '0');
|
2020-06-10 15:00:12 +00:00
|
|
|
error_reporting(
|
|
|
|
E_ALL &
|
|
|
|
~E_NOTICE &
|
|
|
|
~E_DEPRECATED &
|
|
|
|
~E_STRICT &
|
|
|
|
~E_USER_NOTICE &
|
|
|
|
~E_USER_DEPRECATED
|
|
|
|
);
|
2020-05-27 18:46:16 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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', 0);
|