From 3fd0d5eb00cd9722d1a7f799faf05ac9691e6291 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 16 Nov 2017 16:01:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/log/driver/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/log/driver/File.php b/library/think/log/driver/File.php index 37d2ca8d..f3abc3d7 100644 --- a/library/think/log/driver/File.php +++ b/library/think/log/driver/File.php @@ -66,7 +66,7 @@ class File if (in_array($type, $this->config['apart_level'])) { // 独立记录的日志级别 if ($this->config['single']) { - $filename = $path . $type . '.log'; + $filename = $path . DS . $type . '.log'; } else { $filename = $path . DS . date('d') . '_' . $type . $cli . '.log'; }