* Modify the cookie of storyModule.

This commit is contained in:
hufangzhou
2021-11-12 09:45:43 +08:00
parent e75aee2b1e
commit bf08427c9a
+2 -2
View File
@@ -155,8 +155,8 @@ class product extends control
if($this->cookie->preProductID != $productID or $this->cookie->preBranch != $branch or $browseType == 'bybranch')
{
$_COOKIE['storyModule'] = 'all';
setcookie('storyModule', 'all', 0, $this->config->webRoot, '', $this->config->cookieSecure, false);
$_COOKIE['storyModule'] = 0;
setcookie('storyModule', 0, 0, $this->config->webRoot, '', $this->config->cookieSecure, false);
}
if($browseType == 'bymodule' or $browseType == '')