From 248ae3fb16ff2733b98ab1a66f601b278a53daec Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 22 Nov 2010 06:56:10 +0000 Subject: [PATCH] * set life and path of cookie. --- module/bug/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 96fa177e0b..6e98fc5075 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -646,7 +646,7 @@ class bug extends control { $customFields = $this->post->customFields; $customFields = join(',', $customFields); - setcookie('bugFields', $customFields, $this->config->cookieLife); + setcookie('bugFields', $customFields, $this->config->cookieLife, $this->config->webRoot); die(js::reload('parent')); }