Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jan 14, 2019
1 parent 716ad07 commit 0b46bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/think/log/driver/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ protected function getApartLevelFile($path, $type)
} elseif ($this->config['max_files']) {
$name = date('Ymd');
} else {
$name = date('d') ;
$name = date('d');
}

return $path . DIRECTORY_SEPARATOR . $name .. '_' . $type . $cli. '.log';
return $path . DIRECTORY_SEPARATOR . $name . '_' . $type . $cli . '.log';
}

/**
Expand Down

0 comments on commit 0b46bf3

Please sign in to comment.