several small improvements to lots of stuff
This commit is contained in:
parent
d272e7de58
commit
7cf2c22a95
12 changed files with 122 additions and 64 deletions
|
|
@ -105,7 +105,10 @@ sub contentHandler {
|
|||
}
|
||||
$session->http->setCookie("wgSession",$session->var->{_var}{sessionId}) unless $session->var->{_var}{sessionId} eq $session->http->getCookies->{"wgSession"};
|
||||
$session->http->getHeader();
|
||||
$session->output->print($output) unless ($session->http->isRedirect());
|
||||
unless ($session->http->isRedirect()) {
|
||||
$session->output->print($output);
|
||||
$session->output->goodNightAndGoodLuck();
|
||||
}
|
||||
WebGUI::Affiliate::grabReferral($session); # process affilliate tracking request
|
||||
}
|
||||
$session->close;
|
||||
|
|
@ -195,9 +198,6 @@ sub page {
|
|||
if ($output eq "chunked") {
|
||||
$output = undef;
|
||||
}
|
||||
if ($session->errorHandler->canShowDebug()) {
|
||||
$output .= $session->errorHandler->showDebug();
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue