From 53cb03635568c2f56d97411d19ba579854c12f9d Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 4 Jan 2016 08:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BA=E4=BE=8Bconfig=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E9=A9=B1=E5=8A=A8=E6=94=B9=E4=B8=BAtrace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- convention.php | 2 +- library/think/cache/driver/file.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/convention.php b/convention.php index 99bcad75..21478fdb 100644 --- a/convention.php +++ b/convention.php @@ -115,7 +115,7 @@ return [ // +---------------------------------------------------------------------- 'log' => [ - 'type' => 'File', + 'type' => 'File', // 支持 file socket trace sae 'path' => LOG_PATH, ], diff --git a/library/think/cache/driver/file.php b/library/think/cache/driver/file.php index cc4f7300..30435be7 100644 --- a/library/think/cache/driver/file.php +++ b/library/think/cache/driver/file.php @@ -24,7 +24,7 @@ class File 'path_level' => 1, 'prefix' => '', 'length' => 0, - 'path' => '', + 'path' => LOG_PATH, 'data_compress' => false, ];