params.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. return [
  3. 'adminEmail' => '751393839@qq.com',
  4. 'adminAcronym' => 'RF',
  5. 'adminTitle' => 'RageFrame',
  6. 'adminDefaultHomePage' => ['main/home'], // 默认主页
  7. 'isMobile' => false, // 手机访问
  8. /** ------ 开发者信息 ------ **/
  9. 'exploitDeveloper' => '简言',
  10. 'exploitFullName' => 'RageFrame 应用开发引擎',
  11. 'exploitOfficialWebsite' => '<a href="http://www.rageframe.com" target="_blank">www.rageframe.com</a>',
  12. 'exploitGitHub' => '<a href="https://github.com/jianyan74/rageframe3" target="_blank">https://github.com/jianyan74/rageframe3</a>',
  13. /** ------ 日志记录 ------ **/
  14. 'user.log' => true,
  15. 'user.log.level' => ['warning', 'error'], // 级别 ['success', 'info', 'warning', 'error']
  16. 'user.log.except.code' => [404], // 不记录的code
  17. /**
  18. * 不需要验证的路由全称
  19. *
  20. * 注意: 前面以绝对路径/为开头
  21. */
  22. 'noAuthRoute' => [
  23. '/main/index', // 系统主页
  24. '/main/home', // 系统首页
  25. '/main/clear-cache', // 清理缓存
  26. '/main/member-between-count',
  27. '/main/member-credits-log-between-count',
  28. '/personal/index',// 个人信息
  29. '/personal/update-password',// 修改密码
  30. '/theme/update', // 主题修改
  31. ],
  32. ];
粤ICP备19079148号