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:
authorrobocoder <anthon.pang@gmail.com>2011-01-28 04:47:36 +0300
committerrobocoder <anthon.pang@gmail.com>2011-01-28 04:47:36 +0300
commitccc36aeeedad6ba3260bd65d2bb24af2c57ee11b (patch)
tree198f6ef74a8316ec30554de9daec0d3b890fc5a5 /core/Cookie.php
parent4b0dc879c6565a1c97314fa02532388a326253d6 (diff)
refs #1982 - delete() should use setCookie() instead of setcookie(), and pass path + domain.
git-svn-id: http://dev.piwik.org/svn/trunk@3815 59fd770c-687e-43c8-a1e3-f5a4ff64c105
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);
}
/**