* set httponly false for cookie written by js.

This commit is contained in:
guanxiying
2019-11-26 16:58:14 +08:00
parent d246b363d6
commit 8af89d8026
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ class task extends control
}
elseif($this->post->after == 'toTaskList')
{
setcookie('moduleBrowseParam', (int)$this->post->module, 0, $this->config->webRoot, '', false, true);
setcookie('moduleBrowseParam', (int)$this->post->module, 0, $this->config->webRoot, '', false, false);
$taskLink = $this->createLink('project', 'task', "projectID=$projectID&status=unclosed&param=0&orderBy=id_desc");
$response['locate'] = $taskLink;
$this->send($response);