Browse Source

Ignore lists in site config

Matthias Schiffer 10 years ago
parent
commit
31da712536
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/configure.pl

+ 2 - 2
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;
 	}
     }