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