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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-07-25 01:37:29 +0300
committerGitHub <noreply@github.com>2016-07-25 01:37:29 +0300
commit755dcf042d201810cbe07e90f74c84a3777f46d6 (patch)
tree02e5d500f25eb31193bad3d8e2bc3fea084f383b /core/Config.php
parente5b8e0973b76cf63fd9ad53d6b0095135dc439c8 (diff)
Professional Services for Piwik, neutral branding within Piwik app (#10339)
Professional Services for Piwik - neutral branding within Piwik app
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php
index adc3ba948d..01fa144a5c 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -12,6 +12,7 @@ namespace Piwik;
use Exception;
use Piwik\Application\Kernel\GlobalSettingsProvider;
use Piwik\Container\StaticContainer;
+use Piwik\ProfessionalServices\Advertising;
/**
* Singleton that provides read & write access to Piwik's INI configuration.
@@ -158,7 +159,7 @@ class Config
'autocomplete_min_sites' => $general['autocomplete_min_sites'],
'datatable_export_range_as_day' => $general['datatable_export_range_as_day'],
'datatable_row_limits' => $this->getDatatableRowLimits(),
- 'are_ads_enabled' => $general['piwik_pro_ads_enabled']
+ 'are_ads_enabled' => Advertising::isAdsEnabledInConfig($general)
);
}