2021-11-15 23:51:08 +08:00
|
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | 应用设置
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
// 应用地址
|
|
|
|
|
'app_host' => env('app.host', ''),
|
|
|
|
|
// 应用的命名空间
|
|
|
|
|
'app_namespace' => '',
|
|
|
|
|
// 是否启用路由
|
|
|
|
|
'with_route' => true,
|
|
|
|
|
// 默认应用
|
|
|
|
|
'default_app' => 'home',
|
|
|
|
|
// 默认时区
|
|
|
|
|
'default_timezone' => 'Asia/Shanghai',
|
2021-11-17 10:33:37 +08:00
|
|
|
|
|
2021-11-15 23:51:08 +08:00
|
|
|
|
// 应用映射(自动多应用模式有效)
|
2021-11-17 10:33:37 +08:00
|
|
|
|
'app_map' => [],
|
|
|
|
|
// 域名绑定(自动多应用模式有效)
|
|
|
|
|
'domain_bind' => [],
|
|
|
|
|
// 禁止URL访问的应用列表(自动多应用模式有效)
|
|
|
|
|
'deny_app_list' => [],
|
2021-11-15 23:51:08 +08:00
|
|
|
|
|
|
|
|
|
// 异常页面的模板文件
|
|
|
|
|
'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl',
|
|
|
|
|
|
|
|
|
|
// 错误显示信息,非调试模式有效
|
|
|
|
|
'error_message' => '页面错误!请稍后再试~',
|
|
|
|
|
// 显示错误信息
|
|
|
|
|
'show_error_msg' => false,
|
|
|
|
|
|
|
|
|
|
'page_size' => 20,
|
|
|
|
|
|
|
|
|
|
'session_user' => 'gougu_user',
|
|
|
|
|
|
|
|
|
|
'session_admin' => 'gougu_admin',
|
|
|
|
|
|
|
|
|
|
// 默认跳转页面对应的模板文件【新增】
|
|
|
|
|
'dispatch_success_tmpl' => app()->getRootPath() . '/public/tpl/dispatch_jump.tpl',
|
|
|
|
|
'dispatch_error_tmpl' => app()->getRootPath() . '/public/tpl/dispatch_jump.tpl',
|
|
|
|
|
];
|