diff options
Diffstat (limited to 'application/front/controller/visitor/DailyController.php')
-rw-r--r-- | application/front/controller/visitor/DailyController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/front/controller/visitor/DailyController.php b/application/front/controller/visitor/DailyController.php index 808ca5f7..54a4778f 100644 --- a/application/front/controller/visitor/DailyController.php +++ b/application/front/controller/visitor/DailyController.php | |||
@@ -54,6 +54,7 @@ class DailyController extends ShaarliVisitorController | |||
54 | } | 54 | } |
55 | 55 | ||
56 | $formatter = $this->container->formatterFactory->getFormatter(); | 56 | $formatter = $this->container->formatterFactory->getFormatter(); |
57 | $formatter->addContextData('base_path', $this->container->basePath); | ||
57 | // We pre-format some fields for proper output. | 58 | // We pre-format some fields for proper output. |
58 | foreach ($linksToDisplay as $key => $bookmark) { | 59 | foreach ($linksToDisplay as $key => $bookmark) { |
59 | $linksToDisplay[$key] = $formatter->format($bookmark); | 60 | $linksToDisplay[$key] = $formatter->format($bookmark); |