updated dependencies; fixed typo; improved fpm-pool config section splitting
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -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)');
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user