2016-03-07 21:22:15 -06:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# Example Environment Configuration file
|
|
|
|
#
|
|
|
|
# This file can be used as a starting point for your own
|
|
|
|
# custom .env files, and contains most of the possible settings
|
|
|
|
# available in a default install.
|
|
|
|
#
|
|
|
|
# By default, all of the settings are commented out. If you want
|
|
|
|
# to override the setting, you must un-comment it by removing the '#'
|
|
|
|
# at the beginning of the line.
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
2019-02-20 11:50:04 -05:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# ENVIRONMENT
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
|
|
# CI_ENVIRONMENT = production
|
|
|
|
|
2016-03-07 21:22:15 -06:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# APP
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
|
|
# app.baseURL = ''
|
|
|
|
# app.forceGlobalSecureRequests = false
|
|
|
|
|
|
|
|
# app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
|
|
|
|
# app.sessionCookieName = 'ci_session'
|
2021-03-30 08:13:00 +05:30
|
|
|
# app.sessionExpiration = 7200
|
2021-08-30 22:55:10 +08:00
|
|
|
# app.sessionSavePath = null
|
2018-02-15 01:24:01 +07:00
|
|
|
# app.sessionMatchIP = false
|
2016-03-07 21:22:15 -06:00
|
|
|
# app.sessionTimeToUpdate = 300
|
|
|
|
# app.sessionRegenerateDestroy = false
|
|
|
|
|
|
|
|
# app.CSPEnabled = false
|
|
|
|
|
2016-06-28 22:44:37 -05:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# DATABASE
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
|
|
# database.default.hostname = localhost
|
|
|
|
# database.default.database = ci4
|
|
|
|
# database.default.username = root
|
|
|
|
# database.default.password = root
|
|
|
|
# database.default.DBDriver = MySQLi
|
2021-03-30 08:13:00 +05:30
|
|
|
# database.default.DBPrefix =
|
2016-06-28 22:44:37 -05:00
|
|
|
|
|
|
|
# database.tests.hostname = localhost
|
|
|
|
# database.tests.database = ci4
|
|
|
|
# database.tests.username = root
|
|
|
|
# database.tests.password = root
|
|
|
|
# database.tests.DBDriver = MySQLi
|
2021-03-30 08:13:00 +05:30
|
|
|
# database.tests.DBPrefix =
|
2016-06-28 22:44:37 -05:00
|
|
|
|
2016-03-07 21:22:15 -06:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# CONTENT SECURITY POLICY
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
|
|
# contentsecuritypolicy.reportOnly = false
|
|
|
|
# contentsecuritypolicy.defaultSrc = 'none'
|
|
|
|
# contentsecuritypolicy.scriptSrc = 'self'
|
|
|
|
# contentsecuritypolicy.styleSrc = 'self'
|
|
|
|
# contentsecuritypolicy.imageSrc = 'self'
|
2021-12-31 13:55:42 +09:00
|
|
|
# contentsecuritypolicy.baseURI = null
|
2016-03-07 21:22:15 -06:00
|
|
|
# contentsecuritypolicy.childSrc = null
|
|
|
|
# contentsecuritypolicy.connectSrc = 'self'
|
|
|
|
# contentsecuritypolicy.fontSrc = null
|
|
|
|
# contentsecuritypolicy.formAction = null
|
|
|
|
# contentsecuritypolicy.frameAncestors = null
|
2020-11-25 10:36:07 -05:00
|
|
|
# contentsecuritypolicy.frameSrc = null
|
2016-03-07 21:22:15 -06:00
|
|
|
# contentsecuritypolicy.mediaSrc = null
|
|
|
|
# contentsecuritypolicy.objectSrc = null
|
|
|
|
# contentsecuritypolicy.pluginTypes = null
|
|
|
|
# contentsecuritypolicy.reportURI = null
|
|
|
|
# contentsecuritypolicy.sandbox = false
|
|
|
|
# contentsecuritypolicy.upgradeInsecureRequests = false
|
2021-12-31 13:26:08 +09:00
|
|
|
# contentsecuritypolicy.styleNonceTag = '{csp-style-nonce}'
|
|
|
|
# contentsecuritypolicy.scriptNonceTag = '{csp-script-nonce}'
|
2021-12-31 14:01:36 +09:00
|
|
|
# contentsecuritypolicy.autoNonce = true
|
2018-06-05 21:22:57 +01:00
|
|
|
|
2021-04-10 17:25:16 +02:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# COOKIE
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
2021-04-11 01:17:57 +08:00
|
|
|
# cookie.prefix = ''
|
|
|
|
# cookie.expires = 0
|
|
|
|
# cookie.path = '/'
|
|
|
|
# cookie.domain = ''
|
|
|
|
# cookie.secure = false
|
2021-04-10 17:25:16 +02:00
|
|
|
# cookie.httponly = false
|
|
|
|
# cookie.samesite = 'Lax'
|
2021-04-11 01:17:57 +08:00
|
|
|
# cookie.raw = false
|
2021-04-10 17:25:16 +02:00
|
|
|
|
2020-07-14 21:56:51 +02:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# ENCRYPTION
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
2020-07-28 00:04:41 +08:00
|
|
|
# encryption.key =
|
2020-07-14 21:56:51 +02:00
|
|
|
# encryption.driver = OpenSSL
|
2020-09-25 16:56:44 +08:00
|
|
|
# encryption.blockSize = 16
|
2020-07-28 00:04:41 +08:00
|
|
|
# encryption.digest = SHA512
|
2020-07-14 21:56:51 +02:00
|
|
|
|
2018-06-05 21:22:57 +01:00
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# HONEYPOT
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
2020-07-15 23:00:49 +02:00
|
|
|
# honeypot.hidden = 'true'
|
|
|
|
# honeypot.label = 'Fill This Field'
|
|
|
|
# honeypot.name = 'honeypot'
|
|
|
|
# honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>'
|
2020-07-16 00:06:11 +08:00
|
|
|
# honeypot.container = '<div style="display:none">{template}</div>'
|
2020-12-20 17:58:20 +02:00
|
|
|
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# SECURITY
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
2021-10-12 11:00:39 +09:00
|
|
|
# security.csrfProtection = 'cookie'
|
2021-11-04 19:10:16 +09:00
|
|
|
# security.tokenRandomize = false
|
2021-03-30 08:13:00 +05:30
|
|
|
# security.tokenName = 'csrf_token_name'
|
2020-12-20 17:58:20 +02:00
|
|
|
# security.headerName = 'X-CSRF-TOKEN'
|
|
|
|
# security.cookieName = 'csrf_cookie_name'
|
2021-03-30 08:13:00 +05:30
|
|
|
# security.expires = 7200
|
2020-12-20 17:58:20 +02:00
|
|
|
# security.regenerate = true
|
2021-03-30 08:13:00 +05:30
|
|
|
# security.redirect = true
|
|
|
|
# security.samesite = 'Lax'
|
2021-01-26 16:55:09 +09:00
|
|
|
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# LOGGER
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
|
|
# logger.threshold = 4
|
2021-10-30 09:55:09 +09:00
|
|
|
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# CURLRequest
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
|
|
# curlrequest.shareOptions = true
|