some http header changes
This commit is contained in:
parent
4a3dab3ddb
commit
e8c073b9df
23 changed files with 206 additions and 54 deletions
|
|
@ -319,6 +319,7 @@ sub www_edit {
|
|||
sub www_view {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->insufficient() unless ($self->canView);
|
||||
$self->session->http->setCacheControl($self->get("visitorCacheTimeout")) if ($self->session->user->userId eq "1");
|
||||
return $self->session->style->process($self->view,$self->getParent->getValue("styleTemplateId"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue