app.php 1.6 KB

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