* Add httpOnly param when setcooki.

This commit is contained in:
guanxiying
2019-11-21 14:20:11 +08:00
parent 9e46b973ad
commit bad6bbd39c
18 changed files with 61 additions and 61 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);
setcookie('moduleBrowseParam', (int)$this->post->module, 0, $this->config->webRoot, '', false, true);
$taskLink = $this->createLink('project', 'task', "projectID=$projectID&status=unclosed&param=0&orderBy=id_desc");
$response['locate'] = $taskLink;
$this->send($response);