more bug fixes
This commit is contained in:
parent
6779353b85
commit
ee5ccfad26
5 changed files with 49 additions and 49 deletions
|
|
@ -87,7 +87,7 @@ sub getHeader {
|
|||
if ($self->session->setting->get("preventProxyCache")) {
|
||||
$params{"-expires"} = "-1d";
|
||||
}
|
||||
if ($session{http}{filename}) {
|
||||
if ($self->{_http}{filename}) {
|
||||
$params{"-attachment"} = $self->{_http}{filename};
|
||||
}
|
||||
}
|
||||
|
|
@ -198,7 +198,7 @@ sub setCookie {
|
|||
my $value = shift;
|
||||
my $ttl = shift;
|
||||
$ttl = (defined $ttl ? $ttl : '+10y');
|
||||
if (exists $self->session->request) {
|
||||
if ($self->session->request) {
|
||||
my $cookie = Apache2::Cookie->new($self->session->request,
|
||||
-name=>$name,
|
||||
-value=>$value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue