#--------------------------------------------------------------------
# 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 = development

#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------

app.baseURL = 'http://localhost:8080/'
app.name = 'ERP System'
# Set to true once you're serving over HTTPS (recommended for production).
app.forceGlobalSecureRequests = false

#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------

database.default.hostname = localhost
database.default.database = erp_foundation
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
database.default.DBPrefix =
database.default.port = 3306

#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------

# Generate with: php spark key:generate
encryption.key =

#--------------------------------------------------------------------
# SESSION
#--------------------------------------------------------------------

session.driver = 'CodeIgniter\Session\Handlers\DatabaseHandler'
session.savePath = 'ci_sessions'
session.cookieSecure = false
# Set session.cookieSecure = true once served over HTTPS.

#--------------------------------------------------------------------
# LOGGER
#--------------------------------------------------------------------

logger.threshold = 4

#--------------------------------------------------------------------
# ADMIN SEED (used only by php spark db:seed DatabaseSeeder)
#--------------------------------------------------------------------

ADMIN_SEED_USERNAME = admin
ADMIN_SEED_EMAIL = admin@example.com
ADMIN_SEED_FIRST_NAME = System
ADMIN_SEED_LAST_NAME = Administrator
# Leave ADMIN_SEED_PASSWORD unset to auto-generate a strong random password
# that's printed once to the console during seeding. Never commit a real
# password here.
# ADMIN_SEED_PASSWORD =

#--------------------------------------------------------------------
# AUTH (optional overrides — see app/Config/Auth.php for all defaults)
#--------------------------------------------------------------------

# auth.maxLoginAttempts = 5
# auth.lockoutMinutes = 15
# auth.sessionIdleTimeoutMinutes = 30
