From 8437fe4a9d05211d46488742e08701c45df6b52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Sun, 24 Dec 2023 00:57:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=85=81=E8=AE=B8=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=20composer.json=20=E7=9A=84=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/library/module/Manage.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/admin/library/module/Manage.php b/app/admin/library/module/Manage.php index fd16460d..78762535 100644 --- a/app/admin/library/module/Manage.php +++ b/app/admin/library/module/Manage.php @@ -701,6 +701,13 @@ class Manage $npm = false; $composer = false; $nuxtNpm = false; + + // composer config 更新 + $composerConfig = Server::getConfig($this->modulesDir, 'composerConfig'); + if ($composerConfig) { + $serverDep->setComposerConfig($composerConfig); + } + foreach ($depends as $key => $item) { if (!$item) { continue;