From abf754f973ca6a679672e2106a17fd8296ee830e Mon Sep 17 00:00:00 2001 From: sf <811800545@qq.com> Date: Wed, 21 Dec 2016 05:22:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=93=E5=AD=98=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AE=BE=E7=BD=AE=E5=92=8C=E8=8E=B7=E5=8F=96=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E7=94=A8=E5=90=8C=E4=B8=80=E4=B8=AA=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- corp/util/Cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corp/util/Cache.php b/corp/util/Cache.php index ebbf6cb..c613715 100755 --- a/corp/util/Cache.php +++ b/corp/util/Cache.php @@ -130,7 +130,7 @@ function set($key, $value) } $item['create_time'] = time(); $data["$key"] = $item; - $this->set_file("filecache.php",json_encode($data)); + $this->set_file(DIR_ROOT . "filecache.php",json_encode($data)); } } @@ -172,4 +172,4 @@ function set_file($filename, $content) { fwrite($fp, "" . $content); fclose($fp); } -} \ No newline at end of file +}