# ============================================================
#  OJT Management System - private settings (NEVER put this file in public_html)
#  Fill in the values below, save, done. Lines starting with # are comments.
# ============================================================

# ---- Database (cPanel > MySQL Databases) ----
# cPanel prefixes names with your account name, e.g. cpuser_ojt / cpuser_ojtuser
DB_HOST=localhost
DB_NAME=cpuser_ojt
DB_USER=cpuser_ojtuser
DB_PASS=CHANGE_ME

# ---- Email via your cPanel mailbox (cPanel > Email Accounts > Connect Devices) ----
# Host: mail.yourdomain.com  (use the "Mail Server" shown in Connect Devices)
# SSL  -> port 465, SMTP_ENCRYPTION=ssl      TLS(STARTTLS) -> port 587, SMTP_ENCRYPTION=tls
SMTP_HOST=mail.yourdomain.com
SMTP_PORT=465
SMTP_ENCRYPTION=ssl
# Username is the FULL email address of the mailbox
SMTP_USERNAME=noreply@yourdomain.com
SMTP_PASSWORD=CHANGE_ME
# Must be the same mailbox (or an alias of it) - cPanel rejects other senders
SMTP_FROM_EMAIL=noreply@yourdomain.com
SMTP_FROM_NAME=OJT Management System
# Only set to false if you must use SMTP_HOST=localhost (certificate name won't match). Keep true otherwise.
SMTP_VERIFY_PEER=true

# ---- Optional ----
# Only needed if the site lives in a sub-folder AND auto-detection is wrong, e.g. /ojt
#APP_BASE_URL=
