You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.5 KiB
PHP
27 lines
1.5 KiB
PHP
<?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 默认的调试模式配置文件
|
|
*/
|
|
defined('THINK_PATH') or exit();
|
|
// 调试模式下面默认设置 可以在应用配置目录下重新定义 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区分大小写
|
|
); |