You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.8 KiB
48 lines
1.8 KiB
1 year ago
|
<?php
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Author: CRMEB Team <admin@crmeb.com>
|
||
|
// +----------------------------------------------------------------------
|
||
|
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | 应用设置
|
||
|
// +----------------------------------------------------------------------
|
||
|
|
||
|
return [
|
||
|
'app_key' => env('app_key', 'VliwSuvne'),
|
||
|
// 应用地址
|
||
|
'app_host' => env('app.host', ''),
|
||
|
// 应用的命名空间
|
||
|
'app_namespace' => '',
|
||
|
// 是否启用路由
|
||
|
'with_route' => true,
|
||
|
// 是否启用事件
|
||
|
'with_event' => true,
|
||
|
// 默认应用
|
||
|
'default_app' => 'index',
|
||
|
// 默认时区
|
||
|
'default_timezone' => 'Asia/Shanghai',
|
||
|
|
||
|
// 应用映射(自动多应用模式有效)
|
||
|
'app_map' => [],
|
||
|
// 域名绑定(自动多应用模式有效)
|
||
|
'domain_bind' => [],
|
||
|
// 禁止URL访问的应用列表(自动多应用模式有效)
|
||
|
'deny_app_list' => [
|
||
|
'common', 'websocket'
|
||
|
],
|
||
|
|
||
|
// 异常页面的模板文件
|
||
|
'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl',
|
||
|
|
||
|
// 错误显示信息,非调试模式有效
|
||
|
'error_message' => '页面错误!请稍后再试~',
|
||
|
// 显示错误信息
|
||
|
'show_error_msg' => false,
|
||
|
];
|