* change for set cookie secure.
This commit is contained in:
@@ -32,7 +32,7 @@ class testsuiteModel extends model
|
||||
return;
|
||||
}
|
||||
|
||||
setCookie("lastProduct", $productID, $this->config->cookieLife, $this->config->webRoot, '', false, true);
|
||||
setcookie("lastProduct", $productID, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
|
||||
$currentProduct = $this->product->getById($productID);
|
||||
|
||||
$dropMenuLink = helper::createLink('product', 'ajaxGetDropMenu', "objectID=$productID&module=$currentModule&method=$currentMethod&extra=$extra");
|
||||
|
||||
Reference in New Issue
Block a user