diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-02-19 03:24:12 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-02-19 03:24:12 +0300 |
commit | 1730a931fa02a60d44d248631d7a3df5fb39b080 (patch) | |
tree | 36f0624d984b97b61de33c41d9ec9c7d848d1917 /core/SettingsPiwik.php | |
parent | 1324cfcfd4e144af3120ff93e43758c12eec93f4 (diff) |
Making algorithm processing unique visitors across websites actually work, refs https://github.com/PiwikPRO/plugin-MetaSites/issues/3
Diffstat (limited to 'core/SettingsPiwik.php')
-rw-r--r-- | core/SettingsPiwik.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/core/SettingsPiwik.php b/core/SettingsPiwik.php index cc098ceca5..6a30ddfecb 100644 --- a/core/SettingsPiwik.php +++ b/core/SettingsPiwik.php @@ -9,7 +9,6 @@ namespace Piwik; use Exception; -use Piwik\Container\StaticContainer; use Piwik\Cache as PiwikCache; /** @@ -444,4 +443,14 @@ class SettingsPiwik return Config::getInstance()->General['force_ssl'] == 1; } + /** + * Note: this config settig is also checked in the InterSites plugin + * + * @return bool + */ + public static function isSameFingerprintAcrossWebsites() + { + return (bool)Config::getInstance()->Tracker['enable_fingerprinting_across_websites']; + } + } |