#!/usr/bin/env bash
# Used as a default to seed config/.env which
# enables you to use environment variables to configure
# the aspects of your application that vary by
# environment.
#
# Having this file in production is considered a **SECURITY RISK** and also decreases
# the bootstrap performance of your application.
#
# To use this file, first copy it into `config/.env`. Also ensure the related
# code block for loading this file is uncommented in `config/bootstrap.php`
#
# In development .env files are parsed by PHP
# and set into the environment. This provides a simpler
# development workflow over standard environment variables.
export APP_NAME="__APP_NAME__"
export DEBUG="false" # Hi friends, I set this to false so that when we create .envs for cPanel, we don't accidentally re-enable debug mode which does not play nice with the authentication plugin.
export APP_DEFAULT_LOCALE="en_AU"
export APP_DEFAULT_TIMEZONE="Australia/Brisbane"
# SECURITY: Set this to your domain to prevent Host Header Injection attacks VERY IMPORTANT VERY IMPORTANT FIX ME ON CPANEL/cPANEL/cPanel
# This is REQUIRED in production for password resets and other security features
export APP_FULL_BASE_URL="https://u25s2217.iedev.org" # Change on Cpanel to the cpanel domain
export SECURITY_SALT="__SALT__"

export RECAPTCHA_SITE_KEY="6LfRN5gsAAAAABnQoTIlAFV_FYwaFdQNkCbFnTZ_"
export RECAPTCHA_SECRET_KEY="6LfRN5gsAAAAAD1RH_DNG2qCj3SDrvbK5KQNY5XI"

# Uncomment these to define cache configuration via environment variables.
#export CACHE_DURATION="+2 minutes"
#export CACHE_DEFAULT_URL="file:///path/to/tmp/cache/?prefix=${APP_NAME}_default_&duration=${CACHE_DURATION}"
#export CACHE_CAKECORE_URL="file:///path/to/tmp/cache/persistent?prefix=${APP_NAME}_cake_translations_&serialize=true&duration=${CACHE_DURATION}"
#export CACHE_CAKEMODEL_URL="file:///path/to/tmp/cache/models?prefix=${APP_NAME}_cake_model_&serialize=true&duration=${CACHE_DURATION}"

# Uncomment these to define email transport configuration via environment variables.
#export EMAIL_TRANSPORT_DEFAULT_URL=""

# Uncomment these to define database configuration via environment variables.
#export DATABASE_URL="mysql://my_app:secret@localhost/${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true&quoteIdentifiers=false&persistent=false"
#export DATABASE_TEST_URL="mysql://my_app:secret@localhost/test_${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true&quoteIdentifiers=false&persistent=false"

# Uncomment these to define logging configuration via environment variables.
#export LOG_DEBUG_URL="file:///path/to/logs/?levels[]=notice&levels[]=info&levels[]=debug&file=debug"
#export LOG_ERROR_URL="file:///path/to/logs/?levels[]=warning&levels[]=error&levels[]=critical&levels[]=alert&levels[]=emergency&file=error"

# For use on cPanel (set this so that replacing the system does not orphan photos)
#export PHOTO_UPLOAD_LOCAL_BASE_DIR="/srv/cpusers/u25s2217/persistent_photos_test"


#Google Maps API
GOOGLE_MAPS_API_KEY="AIzaSyChM_U315KOQ0FBituJ7j3-KEaRzOmSkiI"
