aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/container/ContainerBuilder.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-07-28 20:46:11 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-28 20:46:11 +0200
commit301c7ab1a079d937ab41c6f52b8804e5731008e6 (patch)
treeda6a5ed2a436fea87a3fe83fe72483c3f07c5826 /application/container/ContainerBuilder.php
parentb725eb047d233d6c7a505f160b57ebc399a24d45 (diff)
downloadShaarli-301c7ab1a079d937ab41c6f52b8804e5731008e6.tar.gz
Shaarli-301c7ab1a079d937ab41c6f52b8804e5731008e6.tar.zst
Shaarli-301c7ab1a079d937ab41c6f52b8804e5731008e6.zip
Better support for notes permalink
Diffstat (limited to 'application/container/ContainerBuilder.php')
-rw-r--r--application/container/ContainerBuilder.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/container/ContainerBuilder.php b/application/container/ContainerBuilder.php
index bfe93501..2e8c1ee3 100644
--- a/application/container/ContainerBuilder.php
+++ b/application/container/ContainerBuilder.php
@@ -105,7 +105,10 @@ class ContainerBuilder
105 }; 105 };
106 106
107 $container['formatterFactory'] = function (ShaarliContainer $container): FormatterFactory { 107 $container['formatterFactory'] = function (ShaarliContainer $container): FormatterFactory {
108 return new FormatterFactory($container->conf, $container->loginManager->isLoggedIn()); 108 return new FormatterFactory(
109 $container->conf,
110 $container->loginManager->isLoggedIn()
111 );
109 }; 112 };
110 113
111 $container['pageCacheManager'] = function (ShaarliContainer $container): PageCacheManager { 114 $container['pageCacheManager'] = function (ShaarliContainer $container): PageCacheManager {