* Set httpOnly false for downloading and selfClose cookie.
This commit is contained in:
@@ -863,7 +863,7 @@ class fileModel extends model
|
||||
for($i = 0; $i < $obLevel; $i++) ob_end_clean();
|
||||
|
||||
/* Set the downloading cookie, thus the export form page can use it to judge whether to close the window or not. */
|
||||
setcookie('downloading', 1);
|
||||
setcookie('downloading', 1, 0, $this->config->webRoot, '', false, false)
|
||||
|
||||
/* Append the extension name auto. */
|
||||
$extension = '.' . $fileType;
|
||||
|
||||
@@ -856,7 +856,7 @@ class testtask extends control
|
||||
else
|
||||
{
|
||||
/* set cookie for ajax load caselist when close colorbox. */
|
||||
setcookie('selfClose', 1);
|
||||
setcookie('selfClose', 1, 0, $this->config->webRoot, '', false, false);
|
||||
|
||||
if($preAndNext->next)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user