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:
Diffstat (limited to 'modules/Controller.php')
-rw-r--r--modules/Controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/Controller.php b/modules/Controller.php
index fe3a76b852..058f12eab0 100644
--- a/modules/Controller.php
+++ b/modules/Controller.php
@@ -17,7 +17,8 @@ abstract class Piwik_Controller
{
function __construct()
{
-
+ $aPluginName = explode('_', get_class($this));
+ $this->pluginName = $aPluginName[1];
$this->strDate = Piwik_Common::getRequestVar('date', 'yesterday','string');
// the date looks like YYYY-MM-DD we can build it