template.pm: do not expose local path config
This commit is contained in:
@@ -27,7 +27,7 @@ sub process($$$$) {
|
|||||||
|
|
||||||
#TODO: get config
|
#TODO: get config
|
||||||
for my $key ( keys %{ $config->{locations} } ) {
|
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
|
# add current project
|
||||||
|
|||||||
Reference in New Issue
Block a user