PageRenderTime 52ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/application/configs/application.ini

https://github.com/markizano/markizano
INI | 200 lines | 104 code | 31 blank | 65 comment | 0 complexity | 74914b88445a79b558e2fd8ab47bcf44 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. ["live"]
  2. ;--------------------------------------------------------------------------------------
  3. ; Sets the application namespace so module resource autoloading can be used
  4. ;--------------------------------------------------------------------------------------
  5. appnamespace = "Kizano"
  6. ;--------------------------------------------------------------------------------------
  7. ; setup bootstrap
  8. ;--------------------------------------------------------------------------------------
  9. bootstrap.class = "Bootstrap"
  10. bootstrap.path = DIR_APPLICATION "Bootstrap.php"
  11. ;--------------------------------------------------------------------------------------
  12. ;dynamically modify php env settings here
  13. ;--------------------------------------------------------------------------------------
  14. phpSettings.date.timezone = "America/New_York"
  15. phpSettings.log_errors = true
  16. phpSettings.error_log = BASE_DIR "cache/logs/php.log"
  17. phpSettings.ignore_repeated_errors = true
  18. phpSettings.ignore_repeated_source = 1
  19. phpSettings.upload_tmp_dir = BASE_DIR "cache/uploads"
  20. phpSettings.session.save_path = BASE_DIR "cache/session"
  21. phpSettings.session.name = "ZF"
  22. phpSettings.session.use_only_cookies = true
  23. phpSettings.session.cookie_lifetime = 86400
  24. phpSettings.session.cookie_secure = false
  25. phpSettings.session.cookie_httponly = true
  26. phpSettings.session.cookie_path = "/"
  27. phpSettings.session.hash_function = 1
  28. phpSettings.session.hash_bits_per_character = 5
  29. phpSettings.error_reporting = E_ALL | E_STRICT
  30. phpSettings.display_errors = false
  31. phpSettings.display_startup_errors = false
  32. ;--------------------------------------------------------------------------------------
  33. ;dynamically adds namespaces
  34. ;--------------------------------------------------------------------------------------
  35. autoloadernamespaces.kizano = "Kizano_"
  36. autoloadernamespaces.kp = "Kp_"
  37. ;--------------------------------------------------------------------------------------
  38. ;Add any paths that are used for application resource plugins here to dynamically load.
  39. ;--------------------------------------------------------------------------------------
  40. pluginpaths.Kizano_Application_Resource = "Kizano/Application/Resource"
  41. ;--------------------------------------------------------------------------------------
  42. ; Setup caching options
  43. ;--------------------------------------------------------------------------------------
  44. resources.cachemanager.generic.caching = false
  45. resources.cachemanager.generic.cache_id_prefix = 'ZF'
  46. resources.cachemanager.generic.frontend.name = 'Core'
  47. resources.cachemanager.generic.frontend.options.automatic_serialization = true
  48. resources.cachemanager.generic.backend.name = 'File'
  49. resources.cachemanager.generic.backend.options.cache_dir = BASE_DIR "cache"
  50. resources.cachemanager.generic.backend.options.hashed_directory_umask = 0750
  51. resources.cachemanager.generic.backend.options.file_name_prefix = 'ZF'
  52. resources.cachemanager.generic.backend.options.cache_file_umask = 0640
  53. resources.cachemanager.query.caching = false
  54. resources.cachemanager.query.cache_id_prefix = 'ZF_query'
  55. resources.cachemanager.query.frontend.name = 'Core'
  56. resources.cachemanager.query.frontend.options.automatic_serialization = true
  57. resources.cachemanager.query.backend.name = 'File'
  58. resources.cachemanager.query.backend.options.cache_dir = BASE_DIR "cache"
  59. resources.cachemanager.query.backend.options.hashed_directory_umask = 0750
  60. resources.cachemanager.query.backend.options.file_name_prefix = 'ZF.query'
  61. resources.cachemanager.query.backend.options.cache_file_umask = 0640
  62. ;--------------------------------------------------------------------------------------
  63. ; Setup the database config.
  64. ;--------------------------------------------------------------------------------------
  65. resources.db.adapter = "pdo_mysql"
  66. resources.db.params.host = "mysql"
  67. resources.db.params.username = "zend"
  68. resources.db.params.password = "framework"
  69. resources.db.params.dbname = "ZF"
  70. resources.db.params.charset = "utf8"
  71. ;--------------------------------------------------------------------------------------
  72. ; Setup the layout config.
  73. ;--------------------------------------------------------------------------------------
  74. resources.layout.layoutPath = DIR_APPLICATION "layouts/scripts"
  75. resources.layout.viewSuffix = "phtml"
  76. resources.layout.controlsPath = DIR_APPLICATION "layouts/scripts/controls"
  77. resources.layout.viewBasePathSpec = DIR_APPLICATION "modules/:module/views"
  78. ;--------------------------------------------------------------------------------------
  79. ; View controller configuration
  80. ;--------------------------------------------------------------------------------------
  81. resources.view.helperPaths.Kizano_View_Helper = "Kizano/View/Helper/"
  82. resources.view.scriptPaths.default = DIR_APPLICATION "views/scripts"
  83. resources.view.doctype = "XHTML1_STRICT"
  84. resources.view.charset = "utf-8"
  85. ;--------------------------------------------------------------------------------------
  86. ;Configure the front controller and dynamically load any plugins
  87. ;--------------------------------------------------------------------------------------
  88. resources.frontController.throwExceptions = false
  89. resources.frontController.controllerDirectory[] = DIR_APPLICATION "controllers/"
  90. resources.frontController.moduleDirectory = DIR_APPLICATION "modules"
  91. resources.frontController.plugins.layout = "Kizano_Controller_Plugin_Layout"
  92. resources.frontController.plugins.navigation = "Kizano_Controller_Plugin_Navigation"
  93. ;--------------------------------------------------------------------------------------
  94. ; Log writers!
  95. ;--------------------------------------------------------------------------------------
  96. resources.log.standard.writerName = "Stream"
  97. resources.log.standard.writerParams.stream = BASE_DIR "cache/logs/standard.log"
  98. resources.log.standard.formatterName = "Simple"
  99. resources.log.standard.filterParams.format = "[%timestamp%] %priorityName% (%priority%): %message%"
  100. ;--------------------------------------------------------------------------------------
  101. ; Ensure the config for each of the modules is loaded appropriately
  102. ;--------------------------------------------------------------------------------------
  103. resources.moduleconfig = null
  104. ;--------------------------------------------------------------------------------------
  105. ; Ensure the directories for each of the modules is loaded
  106. ;--------------------------------------------------------------------------------------
  107. resources.modules.admin = "enabled"
  108. resources.modules.user = "enabled"
  109. ;resources.modules.sitemap = "enabled"
  110. ;--------------------------------------------------------------------------------------
  111. ; Acl default configuration options
  112. ;--------------------------------------------------------------------------------------
  113. resources.acl.debug = false
  114. resources.acl.roles.guest = null
  115. ;resources.acl.roles.consumer.parent = "G"
  116. ;resources.acl.roles.provider.parent = "G"
  117. resources.acl.roles.admin = "G"
  118. resources.acl.default.role = "G"
  119. resources.acl.default.resource = "default"
  120. resources.acl.super.role = "A"
  121. resources.acl.super.resource = "A"
  122. resources.acl.modules.default.index.index.allow = "G"
  123. ;resources.acl.modules.default.index.image.allow = "G"
  124. resources.acl.modules.default.error.index.allow = "G"
  125. resources.acl.modules.default.error.error.allow = "G"
  126. resources.acl.modules.user.user.login.allow = "G"
  127. ;resources.acl.modules.default.content.index.allow = "G"
  128. ;--------------------------------------------------------------------------------------
  129. ; email settings
  130. ;--------------------------------------------------------------------------------------
  131. resources.mail.transport.type = "smtp"
  132. resources.mail.transport.host = "mail.markizano.net"
  133. resources.mail.transport.name = "mail.markizano.net"
  134. resources.mail.transport.port = 587
  135. resources.mail.defaultFrom.name = "Markizano Draconus"
  136. resources.mail.defaultFrom.email = "markizano@markizano.net"
  137. ;resources.mail.username = ""
  138. ;resources.mail.password = ""
  139. ;--------------------------------------------------------------------------------------
  140. ; Stream resources
  141. ;--------------------------------------------------------------------------------------
  142. ;resources.stream.Kizano_Stream_Json = "json"
  143. ;resources.stream.Kizano_Stream_Db = "db"
  144. ;--------------------------------------------------------------------------------------
  145. ; Adding module resource autoloader types and paths
  146. ;--------------------------------------------------------------------------------------
  147. moduleResources.grid.path = "grids"
  148. moduleResources.grid.namespace = "Grid"
  149. moduleResources.tables.path = "tables"
  150. moduleResources.tables.namespace = "Table"
  151. ;--------------------------------------------------------------------------------------
  152. ; Zend_Session_Namespace Configuration Options
  153. ;--------------------------------------------------------------------------------------
  154. session.name = "Kizano"
  155. session.remember_me_seconds = 864000
  156. [staging : live]
  157. [dev : live]
  158. phpSettings.display_startup_errors = true
  159. phpSettings.display_errors = true
  160. phpSettings.xdebug.var_display_max_depth = 16
  161. resources.acl.modules.default.debug.index.allow = "G"
  162. resources.acl.modules.default.debug.session.allow = "G"
  163. ;resources.acl.debug = true
  164. ; We don't want our firebug logs to be read outside of development.
  165. resources.log.firebug.writerName = "Firebug"
  166. [testing : live]
  167. phpSettings.display_startup_errors = true
  168. phpSettings.display_errors = true
  169. phpSettings.xdebug.var_display_max_depth = 16