Merge branch 'sprint/170_hufangzhou_bug' into 'sprint/170'
* Modify the cookie of storyModule. See merge request easycorp/zentaopms!424
This commit is contained in:
@@ -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 == '')
|
||||
|
||||
Reference in New Issue
Block a user