增加app_trace 参数用于配置是否开启trace调试

This commit is contained in:
thinkphp
2016-07-03 10:39:23 +08:00
parent fdfebe73f6
commit fbf9e938e8
5 changed files with 54 additions and 54 deletions

View File

@@ -9,6 +9,8 @@ return [
'app_namespace' => 'app',
// 应用调试模式
'app_debug' => true,
// 应用Trace
'app_trace' => false,
// 应用模式状态
'app_status' => '',
// 是否支持多模块
@@ -134,24 +136,26 @@ return [
'error_message' => '页面错误!请稍后再试~',
// 显示错误信息
'show_error_msg' => false,
// 异常处理handle类 留空使用 \think\exception\Handle
'exception_handle' => '',
// +----------------------------------------------------------------------
// | 日志设置
// +----------------------------------------------------------------------
'log' => [
// 日志记录方式,支持 file sae
// 日志记录方式,内置 file sae 支持扩展
'type' => 'File',
// 日志保存目录
'path' => LOG_PATH,
],
// +----------------------------------------------------------------------
// | Trace设置
// | Trace设置 开启 app_trace 后 有效
// +----------------------------------------------------------------------
'trace' => [
// 支持Html Socket Console 设为false则不显示
'type' => false,
// 内置Html Socket Console 支持扩展
'type' => 'Html',
],
// +----------------------------------------------------------------------
@@ -245,6 +249,7 @@ return [
// 自动写入时间戳字段
'auto_timestamp' => false,
],
//分页配置
'paginate' => [
'type' => 'bootstrap',