app.ini.sample 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. [general]
  2. ; page.name = "New awesome project"
  3. ; page.url = "http://www.example.com/"
  4. ; page.assets_dir = "assets"
  5. ; page.public_upload_dir = "files"
  6. ; application.name = "newAwesomeProject"
  7. ; application.log_level = null
  8. ; application.batch_listeners[] = "example\controller\ExampleBatchListener"
  9. [web]
  10. ; response.caching_enabled = true
  11. ; response.browser_caching_enabled = true
  12. ; response.send_etag = true
  13. ; response.send_not_modified = true
  14. ; response.server_push = true
  15. ; view.caching_enabled = true
  16. ; view.type.example = "example\ui\viewtypes\ExampleView"
  17. ; dispatch.target_crypt_enabled = true
  18. ; dispatch.target_crypt_algorithm = "AES-256-CTR"
  19. ; locale_aliases[de_CH] = "de"
  20. [routing]
  21. ; controllers[] = "/{locale}/example > example\controller\ExampleController"
  22. ; controllers[] = "/foo > example\controller\FooController"
  23. ; filters[] = "/secure/** > example\filter\ExampleFilter";
  24. ; precache_filters[] = "/** > example\filter\ExamplePrecacheFilter"
  25. ; locales[] = "de_CH"
  26. ; locales[] = "fr"
  27. ; locales[] = "en_US"
  28. [routing-atusch]
  29. ; host = "atusch.example.com"
  30. ; context_path = "/"
  31. ; assets_url = "assets"
  32. ; controllers[] = "/ > example\controller\SubsystemStartController"
  33. ; locales[] = "rm_CH"
  34. [mail]
  35. ; mail_sending_enabled = true
  36. ; default_addresser = "info@example.com"
  37. ; address.system_manager = "support@example.com"
  38. ; address.customer = "info@example.com"
  39. ; address.notification_recipients[] = "info@example.com"
  40. ; smtp.host = "smtp.host.ch"
  41. ; smtp.port = 999
  42. ; smtp.security_mode = "ssl"
  43. ; smtp.authentification.required = true
  44. ; smtp.authentification.user = "atusch"
  45. ; smtp.authentification.password = "pass"
  46. [io]
  47. ; public.file_permission = 0600
  48. ; public.dir_permission = 0700
  49. ; private.file_permission = 0600
  50. ; private.dir_permission = 0700
  51. [files]
  52. ; assets.url = "assets"
  53. ; assets.dir = "assets";
  54. ; manager.public.dir = "files"
  55. ; manager.public.url = "files"
  56. ; manager.private.dir = ""
  57. [error]
  58. ; if true php warnings cause exceptions and an error_view is shown
  59. ; strict_attitude = true
  60. ; startup.detect_errors = true
  61. ; startup.detect_bad_requests = true
  62. ; error_view.default = "atusch\view\status.html"
  63. ; error_view.403 = "atusch\view\forbidden.html"
  64. ; error_view.404 = "atusch\view\notFound.html"
  65. ; log.save_detail_info = true
  66. ; log.send_mail = false
  67. ; log.mail_recipient = "support@example.com"
  68. ; log.handle_http_status_exceptions = false
  69. ; log.excluded_http_status_exceptions[] = 404
  70. [database]
  71. ; default.dsn_uri = "mysql:host=localhost;dbname=dbname"
  72. ; default.user = "dbuser"
  73. ; default.password = "pass"
  74. ; default.transaction_isolation_level = "SERIALIZABLE"
  75. ; default.dialect = "n2n\persistence\meta\impl\mysql\MysqlDialect"
  76. ; atusch.dsn_uri = "mysql:host=localhost;dbname=atusch"
  77. ; atusch.user = "dbuser"
  78. ; atusch.password = "pass"
  79. ; atusch.transaction_isolation_level = "SERIALIZABLE"
  80. ; atusch.dialect = "n2n\persistence\meta\impl\mysql\MysqlDialect"
  81. [orm]
  82. ; entities[] = "example\bo\Example"
  83. [locales]
  84. ; fallback = "en"
  85. ; default = "en"
  86. ; admin = "en"
  87. ; l10n_enabled = true
  88. [l10n]
  89. ; de_CH.date.input = "medium"
  90. ; de_CH.time.input = "short"
  91. ; de_CH.date.default = "full"
  92. ; de_CH.time.default = "short"
  93. [pseudo_l10n]
  94. ; de_CH.date.default = "medium"
  95. ; de_CH.date.input = "medium"
  96. ; de_CH.time.default = "short"
  97. ; de_CH.time.input = "short"
  98. ; de_CH.date.pattern.short = "d.m.Y"
  99. ; de_CH.date.pattern.medium = "d.M.Y"
  100. ; de_CH.date.pattern.full = "d.M.Y"
  101. ; de_CH.time.pattern.short = "H:i"
  102. ; de_CH.time.pattern.medium = "H:i:s"
  103. ; de_CH.time.pattern.full = "H:i:s"
  104. ; de_CH.datetime.format = "{date} {time}"