aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/container/ContainerBuilder.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-06-20 15:14:24 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commit1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1 (patch)
tree98a76bf93f9ed84680daa06050680a7c0425e535 /application/container/ContainerBuilder.php
parent78657347c5b463d7c22bfc8c87b7db39fe058833 (diff)
downloadShaarli-1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1.tar.gz
Shaarli-1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1.tar.zst
Shaarli-1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1.zip
Process plugins administration page through Slim controllers
Diffstat (limited to 'application/container/ContainerBuilder.php')
-rw-r--r--application/container/ContainerBuilder.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/container/ContainerBuilder.php b/application/container/ContainerBuilder.php
index a4fd6a0c..ba91fe8b 100644
--- a/application/container/ContainerBuilder.php
+++ b/application/container/ContainerBuilder.php
@@ -88,7 +88,12 @@ class ContainerBuilder
88 }; 88 };
89 89
90 $container['pluginManager'] = function (ShaarliContainer $container): PluginManager { 90 $container['pluginManager'] = function (ShaarliContainer $container): PluginManager {
91 return new PluginManager($container->conf); 91 $pluginManager = new PluginManager($container->conf);
92
93 // FIXME! Configuration is already injected
94 $pluginManager->load($container->conf->get('general.enabled_plugins'));
95
96 return $pluginManager;
92 }; 97 };
93 98
94 $container['formatterFactory'] = function (ShaarliContainer $container): FormatterFactory { 99 $container['formatterFactory'] = function (ShaarliContainer $container): FormatterFactory {