diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-09-13 12:27:21 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-09-13 12:27:21 +0300 |
commit | eb135d879a64ecbd33554dd51b5788f8065e037d (patch) | |
tree | bb882a979d8de52a7294ea95f318fadef97c617d /plugins/SitesManager/Controller.php | |
parent | 703ed9402e4aada544ec94e789021df86575ad15 (diff) |
Various platform tweaks (#14832)
* platform tweaks
* prevent failing if loaded twice
* Update Config.php
* Update PluginList.php
* Update Config.php
* Update IniFileChain.php
* Update Config.php
* Update Config.php
* allow configure different path for custom logo
* only show install plugin button when activated
* allow disable users and sites management
* do not allow calling set super user access
* Update PluginList.php
* Update Config.php
* Update global.ini.php
* Update Config.php
* Update global.ini.php
Diffstat (limited to 'plugins/SitesManager/Controller.php')
-rw-r--r-- | plugins/SitesManager/Controller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php index 2d6c4a7824..da66d3a248 100644 --- a/plugins/SitesManager/Controller.php +++ b/plugins/SitesManager/Controller.php @@ -33,6 +33,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin public function index() { Piwik::checkUserHasSomeAdminAccess(); + SitesManager::dieIfSitesAdminIsDisabled(); return $this->renderTemplate('index'); } |