From 368656d807300c2249e827ebc99cd9cb493a66b4 Mon Sep 17 00:00:00 2001 From: printempw Date: Sun, 28 Aug 2016 13:42:05 +0800 Subject: [PATCH] update .env --- .env.example | 63 +++++++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/.env.example b/.env.example index b543d160..80fa40f9 100644 --- a/.env.example +++ b/.env.example @@ -3,44 +3,51 @@ # Configuration # ################################### -# 务必在生产环境下禁用! +# Be sure to disable debug at production environment! APP_DEBUG = true +APP_ENV = local # ========================= -# = 数据库连接信息 = +# = Database = # ========================= -# MySQL 主机 -DB_HOST = 127.0.0.1 -# MySQL 端口,默认 3306 +DB_CONNECTION = mysql +DB_HOST = localhost DB_PORT = 3306 -# MySQL 数据库名 -DB_DATABASE = "" - -# MySQL 数据库用户名 -DB_USERNAME = "" -# MySQL 连接密码 -DB_PASSWORD = "" +DB_DATABASE = blessing-skin +DB_USERNAME = username +DB_PASSWORD = secret # ========================= -# 数据表前缀 +# Table Prefix # -# 如果您有在同一数据库内安装多个 Blessing Skin Server 的需求, -# 请为每个皮肤站设置不同的数据表前缀。前缀名只能为数字、字母加下划线。 -DB_PREFIX = "" +# Enable if you want to install multiple Blessing Skin Server into one database. +# It should only contains characters, numbers and underscores. +DB_PREFIX = null -# 密码加密方式 +# Encrypt Method for Passwords # -# 可选的值有:MD5, SALTED2MD5, SHA256 -PWD_METHOD = "MD5" +# Available values: MD5, SALTED2MD5, SHA256 +PWD_METHOD = SALTED2MD5 -# 盐,用于 token 与密码加密 -# 修改为任意随机字符串以保证站点安全 -SALT = "change-it+to*what)you^like" +# Salt & App Key +# Change them to any random strings to secure your passwords & tokens +SALT = change-it+to*what)you^like +APP_KEY = NkccevHHNRoRBTdGZ4osmKnwdebrjCYw -# SMTP 配置,用于发送重置密码的邮件 -# MAIL_HOST 留空以停用重置密码功能 -MAIL_HOST = "" +# Mail Configurations +# Leave MAIL_HOST empty to disable password resetting +MAIL_DRIVER = smtp +MAIL_HOST = null MAIL_PORT = 465 -MAIL_USERNAME = "" -MAIL_PASSWORD = "" -MAIL_ENCRYPTION = "ssl" +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