template.pm: do not expose local path config

This commit is contained in:
Milan
2020-09-06 19:53:45 +02:00
parent 83d3e74561
commit 123f2046de

View File

@@ -27,7 +27,7 @@ sub process($$$$) {
#TODO: get config
for my $key ( keys %{ $config->{locations} } ) {
$params->{$key} = $config->{locations}->{$key} if ( $key =~ /\_url$/ );
$params->{$key} = $config->{locations}->{$key} if ( $key =~ /\_url$/ && $key !~/local/);
}
# add current project