production.php 1005 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | ERROR DISPLAY
  5. |--------------------------------------------------------------------------
  6. | Don't show ANY in production environments. Instead, let the system catch
  7. | it and display a generic error message.
  8. |
  9. | If you set 'display_errors' to '1', CI4's detailed error report will show.
  10. */
  11. error_reporting(E_ALL & ~E_DEPRECATED);
  12. // If you want to suppress more types of errors.
  13. // error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
  14. ini_set('display_errors', '0');
  15. /*
  16. |--------------------------------------------------------------------------
  17. | DEBUG MODE
  18. |--------------------------------------------------------------------------
  19. | Debug mode is an experimental flag that can allow changes throughout
  20. | the system. It's not widely used currently, and may not survive
  21. | release of the framework.
  22. */
  23. defined('CI_DEBUG') || define('CI_DEBUG', false);