Skip to content

Commit 609a013

Browse files
committed
Log类的save方法去除无用参数
去除APP_STATUS配置参数
1 parent a2f8ef8 commit 609a013

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ThinkPHP/Conf/convention.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
defined('THINK_PATH') or exit();
1919
return array(
2020
/* 应用设定 */
21-
'APP_STATUS' => 'debug', // 应用调试模式状态 调试模式开启后有效 默认为debug 可扩展 并自动加载对应的配置文件
2221
'APP_FILE_CASE' => false, // 是否检查文件的大小写 对Windows平台有效
2322
'APP_SUB_DOMAIN_DEPLOY' => false, // 是否开启子域名部署
2423
'APP_SUB_DOMAIN_RULES' => array(), // 子域名部署规则

ThinkPHP/Library/Think/Log.class.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ static function record($message,$level=self::ERR,$record=false) {
6060
* @access public
6161
* @param integer $type 日志记录方式
6262
* @param string $destination 写入目标
63-
* @param string $extra 额外参数
6463
* @return void
6564
*/
66-
static function save($type='',$destination='',$extra='') {
65+
static function save($type='',$destination='') {
6766
if(empty(self::$log)) return ;
6867

6968
if(empty($destination))

0 commit comments

Comments
 (0)