aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/container/ContainerBuilder.php
diff options
context:
space:
mode:
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 {