From 6c528089c8a756c7a6c139e3c7994189ba7d9d03 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 19 Apr 2018 17:26:22 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=B0=83=E6=95=B4]=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=BC=93=E5=AD=98=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Contracts/Tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChat/Contracts/Tools.php b/WeChat/Contracts/Tools.php index 0bc5949..4cfe9b8 100644 --- a/WeChat/Contracts/Tools.php +++ b/WeChat/Contracts/Tools.php @@ -306,7 +306,7 @@ class Tools private static function getCacheName($name) { if (empty(self::$cache_path)) { - self::$cache_path = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'Cache' . DIRECTORY_SEPARATOR; + self::$cache_path = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'Cache' . DIRECTORY_SEPARATOR; } self::$cache_path = rtrim(self::$cache_path, '/\\') . DIRECTORY_SEPARATOR; file_exists(self::$cache_path) || mkdir(self::$cache_path, 0755, true);