# # Local OBEsoft configuration. This file is ignored by Git.
# OBESOFT_ENV=development
# OBESOFT_APP_URL=http://127.0.0.1:8000
# OBESOFT_AUTH_ENABLED=true
# OBESOFT_REGISTRATION_ENABLED=true
# OBESOFT_EMAIL_VERIFICATION_REQUIRED=true

# OBESOFT_MAIL_DRIVER=log
# OBESOFT_MAIL_LOG_PATH=storage/logs/mail.log

# # Add the Google OAuth Web Application credentials here, then restart run.bat.
# OBESOFT_GOOGLE_CLIENT_ID=
# OBESOFT_GOOGLE_CLIENT_SECRET=
# OBESOFT_GOOGLE_REDIRECT_URI=http://127.0.0.1:8000/api/google-callback.php
# OBESOFT_GOOGLE_HOSTED_DOMAIN=

# environment variables take precedence. Never commit the .env file.

OBESOFT_ENV=development
OBESOFT_DB_PATH=storage/database/obe.db
OBESOFT_BACKUP_PATH=storage/backups
OBESOFT_SESSION_PATH=storage/sessions

# Authentication is enabled by default. Public registration always creates
# Teacher accounts; only an administrator can grant Manager or Admin roles.
OBESOFT_APP_URL=http://127.0.0.1:8000
OBESOFT_AUTH_ENABLED=true
OBESOFT_REGISTRATION_ENABLED=true
OBESOFT_EMAIL_VERIFICATION_REQUIRED=true

# "log" writes verification/reset links (and, in development, notification emails)
# to storage/logs/mail.log. Use "mail" for PHP mail delivery configured by the host,
# or "smtp" to send through the OBESOFT_SMTP_* credentials below (e.g. Gmail SMTP).
OBESOFT_MAIL_DRIVER=smtp
OBESOFT_MAIL_FROM_ADDRESS=ariyanrakib980@gmail.com
OBESOFT_MAIL_FROM_NAME=OBEsoft
OBESOFT_MAIL_LOG_PATH=storage/logs/mail.log

# Only used when OBESOFT_MAIL_DRIVER=smtp. For Gmail, use an App Password, not your
# normal account password (https://myaccount.google.com/apppasswords).
OBESOFT_SMTP_HOST=smtp.gmail.com
OBESOFT_SMTP_PORT=587
OBESOFT_SMTP_USER=ariyanrakib980@gmail.com
OBESOFT_SMTP_PASS=pfplvfofbqpiqniz

# BulkSMSBD (https://bulksmsbd.net) credentials for SMS notifications. Leave the API
# key blank to keep SMS notifications disabled regardless of the admin toggle.
OBESOFT_BULK_SMS_API_KEY=
OBESOFT_BULK_SMS_SENDER_ID=
OBESOFT_BULK_SMS_BASE_URL=http://bulksmsbd.net/api

# Google OAuth Web Application credentials. The redirect URI must match the
# authorized redirect URI in Google Cloud exactly.
OBESOFT_GOOGLE_CLIENT_ID=635226177676-nkkh6po5btkbbllni2bbilt40put9d4i.apps.googleusercontent.com
OBESOFT_GOOGLE_CLIENT_SECRET=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
OBESOFT_GOOGLE_REDIRECT_URI=http://127.0.0.1:8000/api/google-callback.php
# Optional Google Workspace restriction, for example aust.edu
OBESOFT_GOOGLE_HOSTED_DOMAIN=

# Comma-separated origins only when a separate frontend genuinely requires CORS.
OBESOFT_ALLOWED_ORIGINS=
