Call the right subroutine.
This commit is contained in:
parent
18bdd2f809
commit
3e60133e10
1 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ sub handler {
|
||||||
my $output = "";
|
my $output = "";
|
||||||
if ($errorHandler->canShowPerformanceIndicators) { #show performance indicators if required
|
if ($errorHandler->canShowPerformanceIndicators) { #show performance indicators if required
|
||||||
my $t = [Time::HiRes::gettimeofday()];
|
my $t = [Time::HiRes::gettimeofday()];
|
||||||
$output = dispatch($session, getRequestedUrl($session));
|
$output = dispatch($session, getRequestedAssetUrl($session));
|
||||||
$t = Time::HiRes::tv_interval($t) ;
|
$t = Time::HiRes::tv_interval($t) ;
|
||||||
if ($output =~ /<\/title>/) {
|
if ($output =~ /<\/title>/) {
|
||||||
$output =~ s/<\/title>/ : ${t} seconds<\/title>/i;
|
$output =~ s/<\/title>/ : ${t} seconds<\/title>/i;
|
||||||
|
|
@ -189,7 +189,7 @@ sub handler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$output = dispatch($session, getRequestedUrl($session));
|
$output = dispatch($session, getRequestedAssetUrl($session));
|
||||||
}
|
}
|
||||||
|
|
||||||
my $filename = $http->getStreamedFile();
|
my $filename = $http->getStreamedFile();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue