From 605a035b865d64ef8b06e193c5d643e7e0e70726 Mon Sep 17 00:00:00 2001 From: joyqi Date: Fri, 20 Dec 2013 00:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3cookies=E8=AE=BE=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- var/Widget/Archive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php index 9c98d100..f5f25af5 100644 --- a/var/Widget/Archive.php +++ b/var/Widget/Archive.php @@ -779,7 +779,7 @@ class Widget_Archive extends Widget_Abstract_Contents /** 保存密码至cookie */ if ($this->request->isPost() && isset($this->request->protectPassword)) { - Typecho_Cookie::set('protectPassword', $this->request->protectPassword, 0, $this->options->siteUrl); + Typecho_Cookie::set('protectPassword', $this->request->protectPassword, 0); } /** 匹配类型 */