asset template variables, ISA relationships and new i18n tag for HttpProxy
This commit is contained in:
parent
6f8bdc6a14
commit
7529f9c147
3 changed files with 168 additions and 20 deletions
|
|
@ -397,8 +397,7 @@ sub view {
|
|||
}
|
||||
} else { # Fetching page failed...
|
||||
$var{header} = "text/html";
|
||||
$var{content} = "<b>Getting <a href='$proxiedUrl'>$proxiedUrl</a> failed</b>".
|
||||
"<p><i>GET status line: ".$response->status_line."</i>";
|
||||
$var{content} = sprintf $i18n->get('fetch page error'), $proxiedUrl, $proxiedUrl, $response->status_line;
|
||||
}
|
||||
unless ($self->get("cacheTimeout") <= 10) {
|
||||
$cacheContent->set($var{content},$self->get("cacheTimeout"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue