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:
authormattab <matthieu.aubry@gmail.com>2014-12-08 05:50:36 +0300
committermattab <matthieu.aubry@gmail.com>2014-12-08 05:50:36 +0300
commit7e8b6c258ffdb579910049c9b7f0d42f931d5508 (patch)
treeb66e4f8ca8d937102bb6d8c299bf40e33610d7f9 /core/Tracker/Visit.php
parentdca8fe4e075357ab5310d8213a669cc217e092ef (diff)
fixes https://github.com/PiwikPRO/plugin-InterSites/issues/2 Added notification to user when Config not setup properly + Update system tests to set the new required config
Diffstat (limited to 'core/Tracker/Visit.php')
-rw-r--r--core/Tracker/Visit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php
index ee4bd97a11..4065ebe15c 100644
--- a/core/Tracker/Visit.php
+++ b/core/Tracker/Visit.php
@@ -386,7 +386,9 @@ class Visit implements VisitInterface
protected function getSettingsObject()
{
if (is_null($this->userSettings)) {
+ // Note: this config settig is also checked in the InterSites plugin
$isSameFingerprintAcrossWebsites = (bool)Config::getInstance()->Tracker['enable_fingerprinting_across_websites'];
+
$this->userSettings = new Settings( $this->request, $this->getVisitorIp(), $isSameFingerprintAcrossWebsites );
}