* Modify cookie set.

This commit is contained in:
caoyanyi
2023-01-04 10:20:25 +08:00
parent cd17b6d3b2
commit b72143a535

View File

@@ -428,7 +428,7 @@ class repo extends control
if($revision != 'HEAD')
{
setCookie("repoBranch", $revision, $this->config->cookieLife, $this->config->webRoot, '', false, true);
$this->cookie->repoBranch = $revision;
$this->cookie->set('repoBranch', $revision);
}
$this->commonAction($repoID, $objectID);