You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

development.php 1.2KB

2 jaren geleden
1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | ERROR DISPLAY
  5. |--------------------------------------------------------------------------
  6. | In development, we want to show as many errors as possible to help
  7. | make sure they don't make it to production. And save us hours of
  8. | painful debugging.
  9. */
  10. error_reporting(-1);
  11. ini_set('display_errors', '1');
  12. /*
  13. |--------------------------------------------------------------------------
  14. | DEBUG BACKTRACES
  15. |--------------------------------------------------------------------------
  16. | If true, this constant will tell the error screens to display debug
  17. | backtraces along with the other error information. If you would
  18. | prefer to not see this, set this value to false.
  19. */
  20. defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
  21. /*
  22. |--------------------------------------------------------------------------
  23. | DEBUG MODE
  24. |--------------------------------------------------------------------------
  25. | Debug mode is an experimental flag that can allow changes throughout
  26. | the system. This will control whether Kint is loaded, and a few other
  27. | items. It can always be used within your own application too.
  28. */
  29. defined('CI_DEBUG') || define('CI_DEBUG', true);