Skip to content

hfmalves/ecom

Repository files navigation

#--------------------------------------------------------------------

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.

#--------------------------------------------------------------------

#--------------------------------------------------------------------

ENVIRONMENT

#--------------------------------------------------------------------

CI_ENVIRONMENT = production

#--------------------------------------------------------------------

APP

#--------------------------------------------------------------------

app.baseURL = 'http://ecom.test/' app.indexPage = ''

If you have trouble with ., you could also use _.

app_baseURL = ''

app.forceGlobalSecureRequests = false

app.CSPEnabled = false

#--------------------------------------------------------------------

DATABASE

#--------------------------------------------------------------------

database.default.hostname = localhost database.default.database = ecom database.default.username = root database.default.password = database.default.DBDriver = MySQLi

database.default.DBPrefix =

database.default.port = 3306

If you use MySQLi as tests, first update the values of Config\Database::$tests.

database.tests.hostname = localhost

database.tests.database = ci4_test

database.tests.username = root

database.tests.password = root

database.tests.DBDriver = MySQLi

database.tests.DBPrefix =

database.tests.charset = utf8mb4

database.tests.DBCollat = utf8mb4_general_ci

database.tests.port = 3306

#--------------------------------------------------------------------

CONFIGURAÇÕES DE EMAIL

#-------------------------------------------------------------------- email.fromEmail = "no-reply@tuaempresa.com" email.fromName = "Ecom System" #--------------------------------------------------------------------

PROTOCOLO (MAIL, SENDMAIL, SMTP)

#-------------------------------------------------------------------- email.protocol = smtp email.SMTPHost = smtp.tuaempresa.com email.SMTPUser = no-reply@tuaempresa.com email.SMTPPass = "tua_senha_super_secreta" email.SMTPPort = 587 email.SMTPCrypto = tls #--------------------------------------------------------------------

FORMATO DE SAÍDA

#-------------------------------------------------------------------- email.mailType = html email.charset = utf-8 email.wordWrap = true #--------------------------------------------------------------------

ENCRYPTION

#--------------------------------------------------------------------

encryption.key =

#--------------------------------------------------------------------

SESSION

#--------------------------------------------------------------------

session.driver = 'CodeIgniter\Session\Handlers\FileHandler'

session.savePath = null

#--------------------------------------------------------------------

LOGGER

#-------------------------------------------------------------------- logger.threshold = 4

About

ecom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors