mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 11:42:28 +01:00
Merge pull request #372 from cydrobolt/bugfix/add_quotes_around_env_keys
Add double quotes around key values in env template
This commit is contained in:
commit
88e4cc2ee2
@ -4,23 +4,23 @@ APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
|
||||
# 32-character key (e.g 3EWBLwxTfh%*f&xRBqdGEIUVvn4%$Hfi)
|
||||
APP_KEY={{$APP_KEY}}
|
||||
APP_KEY="{{{$APP_KEY}}}"
|
||||
|
||||
# Your app's name (shown on interface)
|
||||
APP_NAME={{$APP_NAME}}
|
||||
APP_NAME="{{$APP_NAME}}"
|
||||
|
||||
# Protocol to access your app. e.g https://
|
||||
APP_PROTOCOL={{$APP_PROTOCOL}}
|
||||
APP_PROTOCOL="{{$APP_PROTOCOL}}"
|
||||
|
||||
# Your app's external address (e.g example.com)
|
||||
APP_ADDRESS={{$APP_ADDRESS}}
|
||||
APP_ADDRESS="{{$APP_ADDRESS}}"
|
||||
|
||||
# Your app's bootstrap stylesheet
|
||||
# e.g https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/flatly/bootstrap.min.css
|
||||
APP_STYLESHEET={{$APP_STYLESHEET}}
|
||||
APP_STYLESHEET="{{$APP_STYLESHEET}}"
|
||||
|
||||
# Set to today's date (e.g November 3, 2015)
|
||||
POLR_GENERATED_AT={{$POLR_GENERATED_AT}}
|
||||
POLR_GENERATED_AT="{{$POLR_GENERATED_AT}}"
|
||||
|
||||
# Set to true after running setup script
|
||||
# e.g true
|
||||
@ -28,15 +28,15 @@ POLR_SETUP_RAN={{$POLR_SETUP_RAN}}
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
# Set to your DB host (e.g localhost)
|
||||
DB_HOST={{{$DB_HOST}}}
|
||||
DB_HOST="{{{$DB_HOST}}}"
|
||||
# DB port (e.g 3306)
|
||||
DB_PORT={{$DB_PORT}}
|
||||
# Set to your DB name (e.g polr)
|
||||
DB_DATABASE={{{$DB_DATABASE}}}
|
||||
DB_DATABASE="{{{$DB_DATABASE}}}"
|
||||
# DB credentials
|
||||
# e.g root
|
||||
DB_USERNAME={{{$DB_USERNAME}}}
|
||||
DB_PASSWORD={{{$DB_PASSWORD}}}
|
||||
DB_USERNAME="{{{$DB_USERNAME}}}"
|
||||
DB_PASSWORD="{{{$DB_PASSWORD}}}"
|
||||
|
||||
# Polr Settings
|
||||
|
||||
@ -89,26 +89,26 @@ SETTING_ADV_ANALYTICS={{$ST_ADV_ANALYTICS}}
|
||||
SETTING_RESTRICT_EMAIL_DOMAIN={{$ST_RESTRICT_EMAIL_DOMAIN}}
|
||||
|
||||
# A comma-separated list of permitted email domains
|
||||
SETTING_ALLOWED_EMAIL_DOMAINS={{$ST_ALLOWED_EMAIL_DOMAINS}}
|
||||
SETTING_ALLOWED_EMAIL_DOMAINS="{{$ST_ALLOWED_EMAIL_DOMAINS}}"
|
||||
|
||||
# reCAPTCHA site key
|
||||
POLR_RECAPTCHA_SITE_KEY={{$POLR_RECAPTCHA_SITE_KEY}}
|
||||
POLR_RECAPTCHA_SITE_KEY="{{$POLR_RECAPTCHA_SITE_KEY}}"
|
||||
|
||||
# reCAPTCHA secret key
|
||||
POLR_RECAPTCHA_SECRET_KEY={{$POLR_RECAPTCHA_SECRET}}
|
||||
POLR_RECAPTCHA_SECRET_KEY="{{$POLR_RECAPTCHA_SECRET}}"
|
||||
|
||||
# Set each to blank to disable mail
|
||||
@if($MAIL_ENABLED)
|
||||
MAIL_DRIVER=smtp
|
||||
# e.g mailtrap.io
|
||||
MAIL_HOST={{$MAIL_HOST}}
|
||||
MAIL_HOST="{{$MAIL_HOST}}"
|
||||
# e.g 2525
|
||||
MAIL_PORT={{$MAIL_PORT}}
|
||||
MAIL_USERNAME={{$MAIL_USERNAME}}
|
||||
MAIL_PASSWORD={{{$MAIL_PASSWORD}}}
|
||||
MAIL_PORT="{{$MAIL_PORT}}"
|
||||
MAIL_USERNAME="{{$MAIL_USERNAME}}"
|
||||
MAIL_PASSWORD="{{{$MAIL_PASSWORD}}}"
|
||||
# e.g noreply@example.com
|
||||
MAIL_FROM_ADDRESS={{$MAIL_FROM_ADDRESS}}
|
||||
MAIL_FROM_NAME={{$MAIL_FROM_NAME}}
|
||||
MAIL_FROM_ADDRESS="{{$MAIL_FROM_ADDRESS}}"
|
||||
MAIL_FROM_NAME="{{$MAIL_FROM_NAME}}"
|
||||
@endif
|
||||
|
||||
APP_LOCALE=en
|
||||
@ -139,8 +139,8 @@ _PSEUDO_RANDOM_KEY_LENGTH=5
|
||||
POLR_BASE={{$ST_BASE}}
|
||||
|
||||
# Do not touch
|
||||
POLR_RELDATE={{env('VERSION_RELMONTH')}} {{env('VERSION_RELDAY')}}, {{env('VERSION_RELYEAR')}}
|
||||
POLR_VERSION={{env('VERSION')}}
|
||||
POLR_RELDATE="{{env('VERSION_RELMONTH')}} {{env('VERSION_RELDAY')}}, {{env('VERSION_RELYEAR')}}"
|
||||
POLR_VERSION="{{env('VERSION')}}"
|
||||
POLR_SECRET_BYTES=2
|
||||
|
||||
TMP_SETUP_AUTH_KEY={{$TMP_SETUP_AUTH_KEY}}
|
||||
TMP_SETUP_AUTH_KEY="{{$TMP_SETUP_AUTH_KEY}}"
|
||||
|
Loading…
Reference in New Issue
Block a user