1
1
Fork 0

Bugfixing Config output for memcached_hosts[]

This commit is contained in:
Philipp Holzer 2019-02-04 01:19:01 +01:00
parent 90e88d6c35
commit d6dd74690d
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -113,7 +113,7 @@ HELP;
if (is_array($value)) {
foreach ($value as $k => $v) {
$this->out("{$cat}.{$key}[{$k}] => " . $v);
$this->out("{$cat}.{$key}[{$k}] => " . (is_array($v) ? implode(', ', $v) : $v));
}
} else {
$this->out("{$cat}.{$key} => " . $value);
@ -130,7 +130,7 @@ HELP;
foreach ($catVal as $key => $value) {
if (is_array($value)) {
foreach ($value as $k => $v) {
$this->out("{$key}[{$k}] => " . $v);
$this->out("{$key}[{$k}] => " . (is_array($v) ? implode(', ', $v) : $v));
}
} else {
$this->out("{$key} => " . $value);
@ -154,7 +154,7 @@ HELP;
foreach ($section as $key => $value) {
if (is_array($value)) {
foreach ($value as $k => $v) {
$this->out("{$cat}.{$key}[{$k}] => " . $v);
$this->out("{$cat}.{$key}[{$k}] => " . (is_array($v) ? implode(', ', $v) : $v));
}
} else {
$this->out("{$cat}.{$key} => " . $value);