app.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkAdmin
  4. // +----------------------------------------------------------------------
  5. // | 版权所有 2014~2021 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
  6. // +----------------------------------------------------------------------
  7. // | 官方网站: https://thinkadmin.top
  8. // +----------------------------------------------------------------------
  9. // | 开源协议 ( https://mit-license.org )
  10. // | 免费声明 ( https://thinkadmin.top/disclaimer )
  11. // +----------------------------------------------------------------------
  12. // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
  13. // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
  14. // +----------------------------------------------------------------------
  15. return [
  16. // 应用命名空间
  17. 'app_namespace' => '',
  18. // 是否启用路由
  19. 'with_route' => true,
  20. // 超级用户账号
  21. 'super_user' => 'admin',
  22. // 应用快速访问
  23. 'app_express' => true,
  24. // 默认应用
  25. 'default_app' => 'index',
  26. // 默认时区
  27. 'default_timezone' => 'Asia/Shanghai',
  28. // 应用映射(自动多应用模式有效)
  29. 'app_map' => [],
  30. // 域名绑定(自动多应用模式有效)
  31. 'domain_bind' => [],
  32. // 禁止URL访问的应用列表(自动多应用模式有效)
  33. 'deny_app_list' => [],
  34. // 非调试模式时显示错误的消息
  35. 'error_message' => '页面错误!请稍后再试~',
  36. // 调试模式异常页面的模板文件
  37. 'exception_tmpl' => app()->getBasePath() . 'admin/view/error.tpl',
  38. ];