Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 2 Jahren
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. namespace Config;
  3. use CodeIgniter\Config\BaseConfig;
  4. /**
  5. * Setup how the exception handler works.
  6. */
  7. class Exceptions extends BaseConfig
  8. {
  9. /**
  10. * --------------------------------------------------------------------------
  11. * LOG EXCEPTIONS?
  12. * --------------------------------------------------------------------------
  13. * If true, then exceptions will be logged
  14. * through Services::Log.
  15. *
  16. * Default: true
  17. *
  18. * @var bool
  19. */
  20. public $log = true;
  21. /**
  22. * --------------------------------------------------------------------------
  23. * DO NOT LOG STATUS CODES
  24. * --------------------------------------------------------------------------
  25. * Any status codes here will NOT be logged if logging is turned on.
  26. * By default, only 404 (Page Not Found) exceptions are ignored.
  27. *
  28. * @var array
  29. */
  30. public $ignoreCodes = [404];
  31. /**
  32. * --------------------------------------------------------------------------
  33. * Error Views Path
  34. * --------------------------------------------------------------------------
  35. * This is the path to the directory that contains the 'cli' and 'html'
  36. * directories that hold the views used to generate errors.
  37. *
  38. * Default: APPPATH.'Views/errors'
  39. *
  40. * @var string
  41. */
  42. public $errorViewPath = APPPATH . 'Views/errors';
  43. /**
  44. * --------------------------------------------------------------------------
  45. * HIDE FROM DEBUG TRACE
  46. * --------------------------------------------------------------------------
  47. * Any data that you would like to hide from the debug trace.
  48. * In order to specify 2 levels, use "/" to separate.
  49. * ex. ['server', 'setup/password', 'secret_token']
  50. *
  51. * @var array
  52. */
  53. public $sensitiveDataInTrace = [];
  54. }