diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-26 07:48:28 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-26 07:48:28 +0400 |
commit | 631a596d9a257624cac706cf1ef078032ab751ea (patch) | |
tree | a5cd8d5f02fd8c33d48f8e37645c16d09e79207c /core/ReportRenderer/Html.php | |
parent | 69f85848c794e4827bf0a5b86045bfcba156dbf3 (diff) |
Fixes #2318, #2325 - URL will be checked for in each piwik request to UI and API (not tracker), and will be set if not already set.
then, we use this URL for the HTML email images & link to the piwik reports
git-svn-id: http://dev.piwik.org/svn/trunk@4552 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ReportRenderer/Html.php')
-rw-r--r-- | core/ReportRenderer/Html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ReportRenderer/Html.php b/core/ReportRenderer/Html.php index c744c67415..b8cdb0ba3a 100644 --- a/core/ReportRenderer/Html.php +++ b/core/ReportRenderer/Html.php @@ -92,7 +92,7 @@ class Piwik_ReportRenderer_Html extends Piwik_ReportRenderer $smarty->assign("tableBgColor", Piwik_ReportRenderer::TABLE_BG_COLOR); $smarty->assign("reportTableHeaderTextSize", self::REPORT_TABLE_HEADER_TEXT_SIZE); $smarty->assign("reportTableRowTextSize", self::REPORT_TABLE_ROW_TEXT_SIZE); - $smarty->assign("currentPath", Piwik_Url::getCurrentUrlWithoutFileName()); + $smarty->assign("currentPath", Piwik::getPiwikUrl()); } public function renderReport($processedReport) |