Ignore lists in site config
This commit is contained in:
parent
60095e2a04
commit
31da712536
@ -12,10 +12,10 @@ sub add_config {
|
|||||||
foreach my $key (keys $c) {
|
foreach my $key (keys $c) {
|
||||||
my $val = $c->{$key};
|
my $val = $c->{$key};
|
||||||
|
|
||||||
if (ref($val)) {
|
if (ref($val) eq 'HASH') {
|
||||||
add_config($key . '.', $val);
|
add_config($key . '.', $val);
|
||||||
}
|
}
|
||||||
else {
|
unless (ref($val)) {
|
||||||
$config{'@' . $prefix . $key . '@'} = $val;
|
$config{'@' . $prefix . $key . '@'} = $val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user