From c779219917c9f6449b60dbd5ef09d27a40dd9be2 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 23 May 2016 16:13:57 +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/Cookie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Cookie.php b/library/think/Cookie.php index 3ca1a0e6..d21f3226 100644 --- a/library/think/Cookie.php +++ b/library/think/Cookie.php @@ -38,7 +38,7 @@ class Cookie public static function init(array $config = []) { if (empty($config)) { - $config = Config::get('session'); + $config = Config::get('cookie'); } self::$config = array_merge(self::$config, array_change_key_case($config)); if (!empty(self::$config['httponly'])) {