diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-14 07:23:23 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-14 07:23:23 +0400 |
commit | e3bd0c0b9e8bd34efd27d31fe310602fcfc3a894 (patch) | |
tree | 9e8873a2410dedb65b3e725bf537d4781047b7b7 /core/ReportRenderer/Html.php | |
parent | 8d11a25fa7f41212584a58998c59884a4b9836d4 (diff) |
Moving piwik settings specific getters to SettingsPiwik class
Adding MetricsFormatter class which knows how to format/display metrics (time, money, size, etc)
Diffstat (limited to 'core/ReportRenderer/Html.php')
-rw-r--r-- | core/ReportRenderer/Html.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/ReportRenderer/Html.php b/core/ReportRenderer/Html.php index 40055bbaa6..4e8a2c53cf 100644 --- a/core/ReportRenderer/Html.php +++ b/core/ReportRenderer/Html.php @@ -10,10 +10,10 @@ */ namespace Piwik\ReportRenderer; -use Piwik\Piwik; -use Piwik\View; -use Piwik\ReportRenderer; use Piwik\Plugins\API\API; +use Piwik\ReportRenderer; +use Piwik\SettingsPiwik; +use Piwik\View; /** * @@ -119,7 +119,7 @@ class Html extends ReportRenderer $view->assign("reportTableHeaderTextSize", self::REPORT_TABLE_HEADER_TEXT_SIZE); $view->assign("reportTableRowTextSize", self::REPORT_TABLE_ROW_TEXT_SIZE); $view->assign("reportBackToTopTextSize", self::REPORT_BACK_TO_TOP_TEXT_SIZE); - $view->assign("currentPath", Piwik::getPiwikUrl()); + $view->assign("currentPath", SettingsPiwik::getPiwikUrl()); $view->assign("logoHeader", API::getInstance()->getHeaderLogoUrl()); } |