#--------------------------------------------------------------------
# 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://localhost/qc/"
app.timezone = 'Asia/Jakarta'
# If you have trouble with `.`, you could also use `_`.
# app_baseURL = ''
# app.forceGlobalSecureRequests = false
# app.CSPEnabled = false

#--------------------------------------------------------------------
# DATABASE - MYSQL CONFIGURATION FOR QC DEMO
#--------------------------------------------------------------------

database.default.hostname = localhost
database.default.database = qc_ci4
database.default.username = root
database.default.password = 
database.default.DBDriver = MySQLi
database.default.DBPrefix = 
database.default.port = 3306
database.default.charset = utf8mb4
database.default.DBCollat = utf8mb4_unicode_ci

# 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

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

# encryption.key =

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

session.driver = "CodeIgniter\Session\Handlers\FileHandler"
session.savePath = "C:\\xampp\\htdocs\\qc\\codeigniter4\\writable\\session"
session.matchIP = false
session.expiration = 7200

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

logger.threshold = 4

#--------------------------------------------------------------------
# SECURITY
#--------------------------------------------------------------------

# CORS Settings
# CORS_ALLOW_CREDENTIALS = true
# CORS_ALLOW_HEADERS = 'Content-Type, Authorization'

#--------------------------------------------------------------------
# APP SETTINGS
#--------------------------------------------------------------------

APP_NAME = "QC System"
APP_VERSION = "1.0.0"
