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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-02-01 07:17:22 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-02-01 07:17:22 +0300
commit22d8115234e152b91620f5eaec88573e0801d633 (patch)
tree9fd69eb676110fdce58b1a794170d4e3a5a2126e /modules/Controller.php
parentb04add2fea31214640fa3e95af5de4eaf909af00 (diff)
finished splitting HomeController in all the plugins controller
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