diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-08 05:50:36 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-08 05:50:36 +0300 |
commit | 7e8b6c258ffdb579910049c9b7f0d42f931d5508 (patch) | |
tree | b66e4f8ca8d937102bb6d8c299bf40e33610d7f9 /core/Tracker/Visit.php | |
parent | dca8fe4e075357ab5310d8213a669cc217e092ef (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.php | 2 |
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 ); } |