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-03-29 09:10:52 +0400
committermattab <matthieu.aubry@gmail.com>2014-03-29 09:10:52 +0400
commitf30cf2077e026fb5536b110ace8be95eae209b0e (patch)
tree86adaa365da32a103cd1122aff38cf1622745bef /core/Config.php
parent103f5daad5500e91afd7c78513f448604de2012a (diff)
Fixes #4924: in Tracker mode, do not check for permission when getting/setting plugin settings.
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php
index 3dc081d80e..726a13d56f 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -296,7 +296,7 @@ class Config extends Singleton
public function init()
{
$this->initialized = true;
- $reportError = !empty($GLOBALS['PIWIK_TRACKER_MODE']);
+ $reportError = SettingsServer::isTrackerApiRequest();
// read defaults from global.ini.php
if (!is_readable($this->pathGlobal) && $reportError) {