2021-07-18 23:42:10 +08:00
|
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Author: Devil
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | 应用设置
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
return [
|
|
|
|
|
// 应用地址
|
|
|
|
|
'app_host' => '',
|
|
|
|
|
// 应用的命名空间
|
|
|
|
|
'app_namespace' => '',
|
|
|
|
|
// 是否启用路由
|
|
|
|
|
'with_route' => true,
|
|
|
|
|
// 默认应用
|
|
|
|
|
'default_app' => 'index',
|
|
|
|
|
// 默认时区
|
|
|
|
|
'default_timezone' => MyFileConfig('common_timezone', '', 'Asia/Shanghai', true),
|
|
|
|
|
|
|
|
|
|
// 应用映射(自动多应用模式有效)
|
|
|
|
|
'app_map' => [],
|
|
|
|
|
// 域名绑定(自动多应用模式有效)
|
|
|
|
|
'domain_bind' => [],
|
|
|
|
|
// 禁止URL访问的应用列表(自动多应用模式有效)
|
|
|
|
|
'deny_app_list' => [],
|
|
|
|
|
|
|
|
|
|
// 异常页面的模板文件
|
2021-07-21 15:18:54 +08:00
|
|
|
|
'exception_tmpl' => APP_PATH . 'tpl/think_exception.tpl',
|
2021-07-18 23:42:10 +08:00
|
|
|
|
|
|
|
|
|
// 错误显示信息,非调试模式有效
|
|
|
|
|
'error_message' => '系统出现错误、请联系管理员或到'.implode('', ['S','h','o','p','X','O']).'社区查阅~',
|
|
|
|
|
// 显示错误信息
|
|
|
|
|
'show_error_msg' => false,
|
|
|
|
|
];
|
2018-12-29 13:13:09 +08:00
|
|
|
|
?>
|