Update .env files

This commit is contained in:
Pig Fang 2018-07-20 15:14:10 +08:00
parent a646d76bf3
commit 4fd3a07224
2 changed files with 64 additions and 63 deletions

View File

@ -1,5 +1,5 @@
################################### ###################################
# Blessing Skin Server V3 # # Blessing Skin Server v3 #
# Configuration # # Configuration #
################################### ###################################
@ -10,9 +10,7 @@
APP_DEBUG = false APP_DEBUG = false
APP_ENV = production APP_ENV = production
# ========================= # Database Configuration
# = Database =
# =========================
DB_CONNECTION = mysql DB_CONNECTION = mysql
DB_HOST = localhost DB_HOST = localhost
DB_PORT = 3306 DB_PORT = 3306
@ -23,20 +21,20 @@ DB_PASSWORD = secret
# Table Prefix # Table Prefix
# #
# Enable if you want to install multiple Blessing Skin Server into one database. # Change if you want to install multiple BS instances into one database.
# It should only contains characters, numbers and underscores. # The prefix may only contain letters, numbers, and underscores.
# #
DB_PREFIX = null DB_PREFIX = null
# Encrypt Method for Passwords. # Hash Algorithm for Passwords
# #
# Available values: # Available values:
# - PHP_PASSWORD_HASH, # - PHP_PASSWORD_HASH
# - (SALTED2)MD5, # - MD5, SALTED2MD5
# - (SALTED2)SHA256, # - SHA256, SALTED2SHA256
# - (SALTED2)SHA512, # - SHA512, SALTED2SHA512
# #
# New sites are *highly* recommend to use PHP_PASSWORD_HASH. # New sites are *highly* recommended to use PHP_PASSWORD_HASH.
# #
PWD_METHOD = PHP_PASSWORD_HASH PWD_METHOD = PHP_PASSWORD_HASH
@ -54,14 +52,15 @@ SALT = 2c5ca184f017a9a1ffbd198ef69b0c0e
# #
APP_KEY = base64:gkb/zouNF6UOSfnr/o+izVMS57WQS3+62YqZBuDyBhU= APP_KEY = base64:gkb/zouNF6UOSfnr/o+izVMS57WQS3+62YqZBuDyBhU=
# Mail Configurations # Mail Configuration
# Leave MAIL_HOST empty to disable password resetting #
# Leave MAIL_DRIVER empty to disable features involving sending emails.
#
MAIL_DRIVER = smtp MAIL_DRIVER = smtp
MAIL_HOST = null MAIL_HOST = null
MAIL_PORT = 465 MAIL_PORT = 465
MAIL_USERNAME = null MAIL_USERNAME = null
MAIL_PASSWORD = null MAIL_PASSWORD = null
MAIL_ENCRYPTION = ssl
# Change below lines only if you know what they mean! # Change below lines only if you know what they mean!
CACHE_DRIVER = file CACHE_DRIVER = file

View File

@ -1,5 +1,5 @@
################################### ###################################
# Blessing Skin Server V3 # # Blessing Skin Server v3 #
# Testing Configuration # # Testing Configuration #
################################### ###################################
@ -7,15 +7,14 @@ APP_DEBUG = true
APP_ENV = testing APP_ENV = testing
DB_CONNECTION = mysql DB_CONNECTION = mysql
# Connect to MySQL server via TCP/IP instead of Unix Domain Socket
DB_HOST = 127.0.0.1 DB_HOST = 127.0.0.1
DB_PORT = 3306 DB_PORT = 3306
DB_DATABASE = test DB_DATABASE = test
DB_USERNAME = root DB_USERNAME = root
DB_PASSWORD = null DB_PASSWORD = null
DB_PREFIX = null DB_PREFIX = null
PWD_METHOD = PHP_PASSWORD_HASH
PWD_METHOD = PHP_PASSWORD_HASH
SALT = c67709dd8b7b733aca0d570681fe96cf SALT = c67709dd8b7b733aca0d570681fe96cf
APP_KEY = base64:eVX/xzF5NhpGB2luswliFx9XSBsbbAP21wOi68X/P34= APP_KEY = base64:eVX/xzF5NhpGB2luswliFx9XSBsbbAP21wOi68X/P34=
@ -34,3 +33,6 @@ FS_DRIVER = memory
REDIS_HOST = 127.0.0.1 REDIS_HOST = 127.0.0.1
REDIS_PASSWORD = null REDIS_PASSWORD = null
REDIS_PORT = 6379 REDIS_PORT = 6379
PLUGINS_DIR = null
PLUGINS_URL = null