Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

施宇 / icsales

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Find file
BlameHistoryPermalink
Switch branch/tag
  • icsales
  • ThinkPHP
  • Conf
  • debug.php
  • 施宇's avatar
    init · 14f95149
    施宇 committed 5 years ago
    14f95149
debug.php 1.42 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

/**
 * ThinkPHP 默认的调试模式配置文件
 */

// 调试模式下面默认设置 可以在应用配置目录下重新定义 debug.php 覆盖
return array(
    'LOG_RECORD'           => true, // 进行日志记录
    'LOG_EXCEPTION_RECORD' => true, // 是否记录异常信息日志
    'LOG_LEVEL'            => 'EMERG,ALERT,CRIT,ERR,WARN,NOTIC,INFO,DEBUG,SQL', // 允许记录的日志级别
    'DB_FIELDS_CACHE'      => false, // 字段缓存信息
    'DB_DEBUG'             => true, // 开启调试模式 记录SQL日志
    'TMPL_CACHE_ON'        => false, // 是否开启模板编译缓存,设为false则每次都会重新编译
    'TMPL_STRIP_SPACE'     => false, // 是否去除模板文件里面的html空格与换行
    'SHOW_ERROR_MSG'       => true, // 显示错误信息
    'URL_CASE_INSENSITIVE' => false, // URL区分大小写
);