testing.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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. It's not widely used currently, and may not survive
  27. | release of the framework.
  28. */
  29. defined('CI_DEBUG') || define('CI_DEBUG', true);