mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 18:19:27 +01:00
set working path for composer
This commit is contained in:
parent
5057fd9c8f
commit
7365f3efdb
@ -168,7 +168,7 @@ class PluginService
|
|||||||
->unique()
|
->unique()
|
||||||
->toArray();
|
->toArray();
|
||||||
|
|
||||||
$success = $this->composer->requirePackages($composerPackages);
|
$success = $this->composer->setWorkingPath(base_path())->requirePackages($composerPackages);
|
||||||
|
|
||||||
if (!$success) {
|
if (!$success) {
|
||||||
throw new Exception("Could not require composer packages for plugin '{$plugin->id}'");
|
throw new Exception("Could not require composer packages for plugin '{$plugin->id}'");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user