From 31da712536be15bfc3a642b851dfdaebf8cb1e66 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 30 Sep 2013 17:13:13 +0200 Subject: [PATCH] Ignore lists in site config --- scripts/configure.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/configure.pl b/scripts/configure.pl index 5f0fb2b1..20021b85 100755 --- a/scripts/configure.pl +++ b/scripts/configure.pl @@ -12,10 +12,10 @@ sub add_config { foreach my $key (keys $c) { my $val = $c->{$key}; - if (ref($val)) { + if (ref($val) eq 'HASH') { add_config($key . '.', $val); } - else { + unless (ref($val)) { $config{'@' . $prefix . $key . '@'} = $val; } }