From 2d7a1b595c24ee1adf73da9682e4ee80b1f10c91 Mon Sep 17 00:00:00 2001 From: huangdijia Date: Tue, 15 Dec 2015 14:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3cache=E9=A9=B1=E5=8A=A8?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/cache.php b/library/think/cache.php index 55242cd7..650dbf26 100644 --- a/library/think/cache.php +++ b/library/think/cache.php @@ -29,7 +29,7 @@ class Cache public static function connect($options = []) { $type = !empty($options['type']) ? $options['type'] : 'File'; - $class = 'think\\cache\\driver\\' . ucwords($type); + $class = '\\think\\cache\\driver\\' . ucwords($type); self::$handler = new $class($options); return self::$handler; }