2016-07-21 22:01:57 +08:00
|
|
|
###################################
|
|
|
|
# Blessing Skin Server V3 #
|
|
|
|
# Configuration #
|
|
|
|
###################################
|
|
|
|
|
2016-10-16 21:58:25 +08:00
|
|
|
# 啥?你看不懂洋文?请访问:
|
|
|
|
# https://github.com/printempw/blessing-skin-server/wiki/.env-%E5%AD%97%E6%AE%B5%E5%90%AB%E4%B9%89%E8%AF%A6%E8%A7%A3
|
|
|
|
|
2016-08-28 13:42:05 +08:00
|
|
|
# Be sure to disable debug at production environment!
|
2016-12-18 21:59:51 +08:00
|
|
|
APP_DEBUG = false
|
2016-12-10 18:55:08 +08:00
|
|
|
APP_ENV = production
|
2016-07-21 22:01:57 +08:00
|
|
|
|
2016-08-06 19:11:58 +08:00
|
|
|
# =========================
|
2016-08-28 13:42:05 +08:00
|
|
|
# = Database =
|
2016-08-06 19:11:58 +08:00
|
|
|
# =========================
|
2016-08-28 13:42:05 +08:00
|
|
|
DB_CONNECTION = mysql
|
|
|
|
DB_HOST = localhost
|
2016-07-21 22:01:57 +08:00
|
|
|
DB_PORT = 3306
|
2016-08-28 13:42:05 +08:00
|
|
|
DB_DATABASE = blessing-skin
|
|
|
|
DB_USERNAME = username
|
|
|
|
DB_PASSWORD = secret
|
2016-08-06 19:11:58 +08:00
|
|
|
# =========================
|
|
|
|
|
2016-08-28 13:42:05 +08:00
|
|
|
# Table Prefix
|
2016-08-06 19:11:58 +08:00
|
|
|
#
|
2016-08-28 13:42:05 +08:00
|
|
|
# Enable if you want to install multiple Blessing Skin Server into one database.
|
|
|
|
# It should only contains characters, numbers and underscores.
|
|
|
|
DB_PREFIX = null
|
2016-07-21 22:01:57 +08:00
|
|
|
|
2016-09-28 18:08:16 +08:00
|
|
|
# Encrypt Method for Passwords.
|
2016-08-06 19:11:58 +08:00
|
|
|
#
|
2016-10-30 14:12:22 +08:00
|
|
|
# Available values: MD5, SALTED2MD5, (SALTED2)SHA256, (SALTED2)SHA512
|
2016-08-28 13:42:05 +08:00
|
|
|
PWD_METHOD = SALTED2MD5
|
2016-07-24 12:50:19 +08:00
|
|
|
|
2016-09-28 18:08:16 +08:00
|
|
|
# Salt
|
|
|
|
# Change it to any random string to secure your passwords & tokens.
|
2016-08-28 13:42:05 +08:00
|
|
|
SALT = change-it+to*what)you^like
|
2016-09-28 18:08:16 +08:00
|
|
|
|
|
|
|
# App Key should be setted to any random, 32 character string,
|
|
|
|
# otherwise all the encrypted strings will not be safe.
|
2016-08-28 13:42:05 +08:00
|
|
|
APP_KEY = NkccevHHNRoRBTdGZ4osmKnwdebrjCYw
|
2016-07-21 22:01:57 +08:00
|
|
|
|
2016-08-28 13:42:05 +08:00
|
|
|
# Mail Configurations
|
|
|
|
# Leave MAIL_HOST empty to disable password resetting
|
|
|
|
MAIL_DRIVER = smtp
|
|
|
|
MAIL_HOST = null
|
2016-07-21 22:01:57 +08:00
|
|
|
MAIL_PORT = 465
|
2016-08-28 13:42:05 +08:00
|
|
|
MAIL_USERNAME = null
|
|
|
|
MAIL_PASSWORD = null
|
|
|
|
MAIL_ENCRYPTION = ssl
|
|
|
|
|
|
|
|
# Change below lines only if you know what they mean!
|
|
|
|
CACHE_DRIVER = file
|
|
|
|
SESSION_DRIVER = file
|
|
|
|
QUEUE_DRIVER = sync
|
|
|
|
|
|
|
|
REDIS_HOST = 127.0.0.1
|
|
|
|
REDIS_PASSWORD = null
|
|
|
|
REDIS_PORT = 6379
|