Allow to display env in main templates (#1631)
This commit is contained in:
parent
84913b36eb
commit
efb7f667c4
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user