* Migrate all configs into the env.php file #1075 * Style fixes * Fix config names in CreateConfig * Fix installer/installer error messages
This commit is contained in:
@@ -60,9 +60,9 @@ return [
|
||||
'mysql' => [
|
||||
'host' => env('DB_HOST', '$DB_HOST$'),
|
||||
'port' => $DB_PORT$,
|
||||
'database' => '$DB_NAME$',
|
||||
'username' => '$DB_USER$',
|
||||
'password' => '$DB_PASS$',
|
||||
'database' => '$DB_DATABASE$',
|
||||
'username' => '$DB_USERNAME$',
|
||||
'password' => '$DB_PASSWORD$',
|
||||
'prefix' => '$DB_PREFIX$',
|
||||
'prefix_indexes' => true,
|
||||
],
|
||||
|
||||
@@ -1,8 +1,49 @@
|
||||
#
|
||||
# THIS FILE MUST BE KEPT SECRET! IT IS BLOCKED IN THE HTACCESS FILE
|
||||
# HOWEVER, THIS DIRECTORY SHOULDN'T BE EXPOSED TO THE PUBLIC AT ALL
|
||||
# SEE THE DOCS FOR PROPER (SECURE) INSTALLATION:
|
||||
# https://docs.phpvms.net/installation/uploading
|
||||
#
|
||||
# This is the place to edit your configuration. To change a config that's
|
||||
# not present here, you need to either edit the file/config in the config
|
||||
# folder, or change it to read the value from the environment. Something like:
|
||||
#
|
||||
# 'some_key' = env('ENVIRONMENT_VARIABLE_KEY_ADDED_BELOW', 'default value')
|
||||
#
|
||||
# Various other settings in the configs also read from some environment variables
|
||||
# by default. You can override those here
|
||||
|
||||
APP_KEY=base64:$APP_KEY$
|
||||
APP_KEY='$APP_KEY$'
|
||||
SITE_NAME='$SITE_NAME$'
|
||||
SITE_URL='$SITE_URL$'
|
||||
APP_ENV=$APP_ENV$
|
||||
APP_LOCALE=$APP_LOCALE$
|
||||
LOG_LEVEL=debug
|
||||
APP_DEBUG=$APP_DEBUG$
|
||||
DEBUG_TOOLBAR=$DEBUG_TOOLBAR$
|
||||
|
||||
# DATABASE SETTINGS
|
||||
DB_CONNECTION=$DB_CONNECTION$
|
||||
DB_HOST='$DB_HOST$'
|
||||
DB_PORT=$DB_PORT$
|
||||
DB_DATABASE='$DB_DATABASE$'
|
||||
DB_USERNAME='$DB_USERNAME$'
|
||||
DB_PASSWORD='$DB_PASSWORD$'
|
||||
DB_PREFIX='$DB_PREFIX$'
|
||||
DB_EMULATE_PREPARES=$DB_EMULATE_PREPARES$
|
||||
DB_SOCKET=
|
||||
|
||||
# CACHE SETTINGS
|
||||
CACHE_DRIVER=$CACHE_DRIVER$
|
||||
CACHE_PREFIX=$CACHE_PREFIX$
|
||||
|
||||
# EMAIL SETTINGS
|
||||
# Look at the available mail configs in config/mail.php
|
||||
# Also refer to the Laravel docs here: https://laravel.com/docs/8.x/mail
|
||||
MAIL_DRIVER=$MAIL_DRIVER$
|
||||
MAIL_FROM_NAME='$MAIL_FROM_NAME$'
|
||||
MAIL_FROM_ADDRESS='$MAIL_FROM_ADDRESS$'
|
||||
MAIL_HOST=$MAIL_HOST$
|
||||
MAIL_PORT=$MAIL_PORT$
|
||||
MAIL_ENCRYPTION=$MAIL_ENCRYPTION$
|
||||
MAIL_USERNAME=$MAIL_USERNAME$
|
||||
MAIL_PASSWORD=$MAIL_PASSWORD$
|
||||
|
||||
Reference in New Issue
Block a user