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.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Cookie.php b/core/Cookie.php
index 192ebc3b3b..ef98bb3561 100644
--- a/core/Cookie.php
+++ b/core/Cookie.php
@@ -79,7 +79,7 @@ class Piwik_Cookie
*/
protected function getDefaultExpire()
{
- return time() + 86400*365*10;
+ return time() + 86400*365*2;
}
/**
@@ -154,7 +154,6 @@ class Piwik_Cookie
protected function loadContentFromCookie()
{
$cookieStr = $_COOKIE[$this->name];
-
$values = explode( self::VALUE_SEPARATOR, $cookieStr);
foreach($values as $nameValue)
{