OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-registry Date: 28-Nov-2005 08:08:00 Branch: HEAD Handle: 2005112807075900 Modified files: openpkg-registry registry-ui.pl Log: increase expiry times Summary: Revision Changes Path 1.42 +4 -4 openpkg-registry/registry-ui.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-registry/registry-ui.pl ============================================================================ $ cvs diff -u -r1.41 -r1.42 registry-ui.pl --- openpkg-registry/registry-ui.pl 27 Nov 2005 00:00:18 -0000 1.41 +++ openpkg-registry/registry-ui.pl 28 Nov 2005 07:07:59 -0000 1.42 @@ -139,21 +139,21 @@ if ($requestedpage eq "css") { my $out; $out = ''; - $out .= &viewhttp('text/css', '+10s'); + $out .= &viewhttp('text/css', '+3600s'); $out .= &viewcss(); print STDOUT $out; } elsif ($requestedpage eq "jpg") { my $out; $out = ''; - $out .= &viewhttp('image/jpg', '+600s'); + $out .= &viewhttp('image/jpg', '+3600s'); $out .= &viewjpg($cgi->param("name")); print STDOUT $out; } elsif ($requestedpage eq "gif") { my $out; $out = ''; - $out .= &viewhttp('image/gif', '+600s'); + $out .= &viewhttp('image/gif', '+3600s'); $out .= &viewgif($cgi->param("name")); print STDOUT $out; } @@ -354,7 +354,7 @@ $header->{cookie} = $cgi->cookie( -name => 'username', -value => $username, - -expires => '+1h', + -expires => '+3600s', -path => '/' ); $header->{redirect} = $cgi->redirect("?page=$page"); @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org