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:
authorThomas Steur <thomas.steur@googlemail.com>2014-10-14 07:42:47 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-10-14 07:42:47 +0400
commitfa106611dfd493e360b22938b35471582f26ac6c (patch)
tree12b05bd9f903377297d0943980423eaf8b1d5837 /libs/PiwikTracker
parent1eb64a40a0c5220bfe40273de33c0a130980ad99 (diff)
refs #6341 for consistency set cookie lifetime to 13 months as well
Diffstat (limited to 'libs/PiwikTracker')
-rw-r--r--libs/PiwikTracker/PiwikTracker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php
index 15e3b8420c..051cb74745 100644
--- a/libs/PiwikTracker/PiwikTracker.php
+++ b/libs/PiwikTracker/PiwikTracker.php
@@ -189,7 +189,7 @@ class PiwikTracker
}
// Life of the visitor cookie (in sec)
- $this->configVisitorCookieTimeout = 63072000; // 2 years
+ $this->configVisitorCookieTimeout = 33955200; // 13 months (365 + 28 days)
// Life of the session cookie (in sec)
$this->configSessionCookieTimeout = 1800; // 30 minutes
// Life of the session cookie (in sec)