diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-17 04:33:52 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-17 04:33:52 +0400 |
commit | 906e5a60532804bc73dbe15c37cf7ae40f5f94c0 (patch) | |
tree | f9bb065168507d9803aa14fa60ec81f4a1c1da3b /plugins/Live/Controller.php | |
parent | 7b275d6710f69b848e5692d384dd29874bb4599a (diff) |
Fixes #2324
git-svn-id: http://dev.piwik.org/svn/trunk@4489 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/Controller.php')
-rw-r--r-- | plugins/Live/Controller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index 16813c9329..ce3f809db2 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -25,6 +25,7 @@ class Piwik_Live_Controller extends Piwik_Controller $view = Piwik_View::factory('index'); $view->idSite = $this->idSite; $view = $this->setCounters($view); + $view->liveRefreshAfterMs = (int)Zend_Registry::get('config')->General->live_widget_refresh_after_seconds * 1000; $view->visitors = $this->getLastVisitsStart($fetchPlease = true); $view->liveTokenAuth = Piwik::getCurrentUserTokenAuth(); return $this->render($view, $fetch); |