updated dependencies; fixed typo; improved fpm-pool config section splitting

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2025-07-08 08:59:51 +02:00
parent 4ea5773abf
commit 6d10a9a096
3 changed files with 72 additions and 62 deletions

View File

@@ -42,7 +42,7 @@ final class RunApiCommand extends CliCommand
$this->setDescription('Run an API command as given user');
$this->addArgument('user', InputArgument::REQUIRED, 'Loginname of the user you want to run the command as')
->addArgument('api-command', InputArgument::REQUIRED, 'The command to execute in the form "Module.function"')
->addArgument('parameters', InputArgument::OPTIONAL, 'Paramaters to pass to the command as JSON array');
->addArgument('parameters', InputArgument::OPTIONAL, 'Parameters to pass to the command as JSON array');
$this->addOption('show-params', 's', InputOption::VALUE_NONE, 'Show possible parameters for given api-command (given command will *not* be called)');
}

View File

@@ -274,8 +274,8 @@ pm.max_children = 1
$fpm_config .= "\n\n";
foreach ($phpini_array as $inisection) {
$is = explode("=", trim($inisection));
if (count($is) !== 2 || empty($is[0])) {
$is = explode("=", trim($inisection), 2);
if (empty($is[0])) {
continue;
}
foreach ($this->ini as $sec => $possibles) {