Commit efb7f667 authored by Clément OUDOT's avatar Clément OUDOT

Allow to display env in main templates (#1631)

parent 84913b36
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment