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:
authorThomas Steur <thomas.steur@gmail.com>2015-10-30 23:09:19 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-11-04 23:02:09 +0300
commit89eb98b2fdaf3fa72a4a038daa050764f904ecc6 (patch)
tree2780a76f14724cb5546cfce657ede275d6ab3b85 /plugins/CustomVariables/Controller.php
parent71c972da727f1f97c5fc13eb491daa77ff516de6 (diff)
added screen to see custom variable usages
Diffstat (limited to 'plugins/CustomVariables/Controller.php')
-rw-r--r--plugins/CustomVariables/Controller.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/CustomVariables/Controller.php b/plugins/CustomVariables/Controller.php
index 59a4a949de..e73e58b257 100644
--- a/plugins/CustomVariables/Controller.php
+++ b/plugins/CustomVariables/Controller.php
@@ -8,7 +8,20 @@
*/
namespace Piwik\Plugins\CustomVariables;
+use Piwik\Common;
+use Piwik\DataTable;
+use Piwik\Piwik;
+
class Controller extends \Piwik\Plugin\Controller
{
+ public function manage()
+ {
+ $idSite = Common::getRequestVar('idSite');
+
+ Piwik::checkUserHasAdminAccess($idSite);
+
+ return $this->renderTemplate('manage', array());
+ }
+
}