Allow to display env in main templates (#1631)

This commit is contained in:
Clément OUDOT 2019-01-31 14:05:24 +01:00
parent 84913b36eb
commit efb7f667c4

View File

@ -426,6 +426,10 @@ sub display {
$req->{sessionInfo}->{$session_key};
}
for my $env_key ( keys %{ $req->env } ) {
$templateParams{ "env_" . $env_key } = $req->env->{$env_key};
}
$self->logger->debug("Skin returned: $skinfile");
return ( $skinfile, \%templateParams );
}