Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Cookie.php')
-rw-r--r--core/Cookie.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Cookie.php b/core/Cookie.php
index ce59c74855..ae661a8598 100644
--- a/core/Cookie.php
+++ b/core/Cookie.php
@@ -159,7 +159,7 @@ class Piwik_Cookie
public function delete()
{
$this->setP3PHeader();
- setcookie($this->name, false, time() - 86400);
+ $this->setCookie($this->name, false, time() - 86400, $this->path, $this->domain);
}
/**