From 0f79447ef0077fd9b7bfd77bba20ba1967363d7b Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 22 Jul 2022 15:22:32 -0500 Subject: [PATCH] [ticket/17024] Add composer/installers to allowed plugins PHPBB3-17024 --- phpBB/phpbb/composer/installer.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpBB/phpbb/composer/installer.php b/phpBB/phpbb/composer/installer.php index 23899095f5..28c023bb60 100644 --- a/phpBB/phpbb/composer/installer.php +++ b/phpBB/phpbb/composer/installer.php @@ -495,7 +495,10 @@ class installer 'replace' => $core_replace, 'repositories' => $this->get_composer_repositories(), 'config' => [ - 'vendor-dir'=> $this->packages_vendor_dir, + 'vendor-dir' => $this->packages_vendor_dir, + 'allow-plugins' => [ + 'composer/installers' => true, + ] ], 'minimum-stability' => $this->minimum_stability, ];