.env 840 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Framework
  2. # ---------
  3. YII_DEBUG = true
  4. YII_ENV = dev
  5. # Databases
  6. # ---------
  7. DB_DSN = mysql:host=127.0.0.1;port=3306;dbname=www_rencai_cn
  8. DB_USERNAME = www_rencai_cn
  9. DB_PASSWORD = 2EiPhybYpXEbp5pJ
  10. DB_TABLE_PREFIX = dd_
  11. # Redis
  12. # --------
  13. REDIS_HOST=127.0.0.1
  14. REDIS_PASSWORD=
  15. REDIS_PORT=6379
  16. # Mail
  17. # ---------
  18. MAIL_DRIVER=smtp
  19. MAIL_HOST=smtp.qiye.aliyun.com
  20. MAIL_PORT=465
  21. MAIL_USERNAME=no-reply@jiangzi.xin
  22. MAIL_PASSWORD=Jiangzixin720!
  23. MAIL_ENCRYPTION=tls
  24. # Other
  25. # -----
  26. FRONTEND_COOKIE_VALIDATION_KEY=nBa4QRtVCVKgsn2Oprencai_jiangzi_
  27. BACKEND_COOKIE_VALIDATION_KEY=JhNsIC4_rgh_tuZksCrencai_jiangzi_
  28. #后台开启rest 风格 url
  29. backend_enable_pretty_url=true
  30. # Urls
  31. # ----
  32. SITE_URL =https://rencai.jiangzi.xin
  33. # 搜索驱动(xunsearch需要安装xunsearch服务端)
  34. SEARCH_ENGINE = local