#--------------------------------------------------------------------
# Summit Holdings Investor Portal — environment settings
# Copy to .env and fill in. Never commit .env to version control.
#--------------------------------------------------------------------

# development: OTP codes and reset links are shown on screen, demo payments allowed.
# production:  real email/SMS required, demo gateway refused, errors hidden.
CI_ENVIRONMENT = development

app.baseURL = 'http://localhost:8080/'
# In production, behind HTTPS:
# app.baseURL = 'https://invest.example.com/'
# app.forceGlobalSecureRequests = true
# cookie.secure = true

#--------------------------------------------------------------------
# Database (MySQL 8 / MariaDB 10.6+)
#--------------------------------------------------------------------
database.default.hostname = 127.0.0.1
database.default.database = investor_portal
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
database.default.DBPrefix =
database.default.port = 3307
database.default.charset = utf8mb4
database.default.DBCollat = utf8mb4_unicode_ci

#--------------------------------------------------------------------
# Encryption key: generate ONCE with `php spark key:generate` and back it up.
# ID numbers and bank account numbers are encrypted with it. If it is lost or
# changed, that data cannot be decrypted.
#--------------------------------------------------------------------
encryption.key =hex2bin:b258360b1756340fea45306d44d745964a86b687f6fd02662d6abd9577c907d0

#--------------------------------------------------------------------
# Email. portal.emailDriver: log (development: nothing is sent; read messages in
# Admin › Settings › Outbox) or smtp (real delivery with the settings below).
#--------------------------------------------------------------------
portal.emailDriver = smtp
email.fromEmail = 'info@summitholdings.com.np'
email.fromName  = 'Summit Holdings'
email.protocol   = smtp
email.SMTPHost   = alpha.mysecurecloudserver.com
email.SMTPUser   = info@summitholdings.com.np
# Password of the info@summitholdings.com.np mailbox. Quote it if it contains # or spaces.
email.SMTPPass   =
# Port 465 = implicit SSL/TLS ("ssl" in CodeIgniter); 587 would be "tls" (STARTTLS).
email.SMTPPort   = 465
email.SMTPCrypto = ssl
email.SMTPTimeout = 20
email.mailType   = html

#--------------------------------------------------------------------
# Portal settings. Most of these can also be changed in Admin › Settings.
# Full list with defaults: app/Config/Portal.php
#--------------------------------------------------------------------
portal.companyName    = 'Summit Holdings'
portal.portalName     = 'Summit Holdings Investor Portal'
portal.currencyCode   = 'NPR'
portal.currencySymbol = 'Rs.'
portal.regulatorName  = '[REGULATOR NAME]'
portal.depositoryName = '[DEPOSITORY NAME]'
portal.licenseNumber  = '[LICENSE NUMBER]'
portal.supportEmail   = 'support@example.com'

# Staff must use an authenticator app (keep true in production).
# For a quick local look around you may set this to false.
portal.enforceStaff2fa = false

#--------------------------------------------------------------------
# Payments. portal.paymentGateway: demo (test only, refused in production) or esewa.
# eSewa ePay v2 credentials come from your eSewa merchant account.
#--------------------------------------------------------------------
portal.paymentGateway = demo
# payments.esewaProductCode = ''
# payments.esewaSecretKey   = ''
# payments.esewaFormUrl     = 'https://epay.esewa.com.np/api/epay/main/v2/form'
# payments.esewaStatusUrl   = 'https://epay.esewa.com.np/api/epay/transaction/status/'

#--------------------------------------------------------------------
# SMS. portal.smsDriver = log writes messages to writable/logs. Add your provider
# in app/Libraries/Sms (implement SmsGatewayInterface) and register it in Config/Services.
#--------------------------------------------------------------------
portal.smsDriver = log
