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
path: root/core
diff options
context:
space:
mode:
authorsimivar <simivar@gmail.com>2019-04-02 00:14:04 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-04-02 00:14:04 +0300
commit77cc8d2d3edae2da4d87587acc3881b76b53b87e (patch)
tree7b71948f9517228ebb61be846643341a91be69a2 /core
parent480ebd847b765fbb0a0d34b3b49245b03ce33d20 (diff)
Load ThemeStyles in View and make theme-color themeable (#14282)
Diffstat (limited to 'core')
-rw-r--r--core/Plugin/Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Plugin/Controller.php b/core/Plugin/Controller.php
index de787e4ae8..9ea522f5f0 100644
--- a/core/Plugin/Controller.php
+++ b/core/Plugin/Controller.php
@@ -705,6 +705,7 @@ abstract class Controller
$view->logoSVG = \Piwik\Plugins\API\API::getInstance()->getSVGLogoUrl();
$view->hasSVGLogo = \Piwik\Plugins\API\API::getInstance()->hasSVGLogo();
$view->superUserEmails = implode(',', Piwik::getAllSuperUserAccessEmailAddresses());
+ $view->themeStyles = ThemeStyles::get();
$general = PiwikConfig::getInstance()->General;
$view->enableFrames = $general['enable_framed_pages']