_.env 941 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # 此文件为配置示例
  2. # 重命名为'.env'即生效
  3. # 域名部署是否开启(用于自定义域名)
  4. deploy = 1
  5. # 顶级域名
  6. domain = 1to.cc
  7. # 主站二级域名
  8. secdomain = www
  9. # 图片静态文件url
  10. image = http://img.1to.cc
  11. # 上传文件url
  12. upload = http://up.1to.cc
  13. [app]
  14. debug = 0
  15. trace = 0
  16. # 七牛云配置
  17. [qiniu]
  18. url =
  19. bk =
  20. ak =
  21. sk =
  22. # 数据库配置
  23. [database]
  24. debug = 0
  25. explain = 0
  26. host = 127.0.0.1
  27. db = 1to
  28. user = root
  29. pwd = root
  30. # QQ登录接口
  31. [qq]
  32. appid =
  33. appkey =
  34. callback =
  35. # 微博登录接口
  36. [wb]
  37. ak =
  38. as =
  39. url =
  40. # Twitter登录接口
  41. [tt]
  42. consumer_key =
  43. consumer_secret =
  44. access_token =
  45. access_secret =
  46. callback =
  47. curl_proxy =
  48. curl_proxyport =
  49. # 支付宝登录接口
  50. [zfb]
  51. app_id =
  52. callback =
  53. private_key =
  54. public_key =
  55. # 短信接口
  56. [sns]
  57. ak =
  58. as =
  59. # 邮箱配置
  60. [mail]
  61. host =
  62. user =
  63. pwd =
  64. from =
  65. name =