X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=include.pl;h=76c4541db78caf171f5e722dc222aaddadc20a6f;hb=3d83e79b81e65a009360743155f0324293d13e67;hp=0bf16a8c3510283014b5f2f0346f9087f7e77f3d;hpb=4e43c322c67e8426100bb90d46fd43630a0608f2;p=ndwebbie.git diff --git a/include.pl b/include.pl index 0bf16a8..76c4541 100644 --- a/include.pl +++ b/include.pl @@ -84,7 +84,7 @@ ORDER BY r.tick+c.wave,x,y,z}); , AJAX => $ND::AJAX, JoinName => $target->{joinable} ? 'N' : 'J' , Joinable => $target->{joinable} ? 'FALSE' : 'TRUE'}; } - my $template = HTML::Template->new(filename => "templates/targetlist.tmpl"); + my $template = HTML::Template->new(filename => "templates/targetlist.tmpl", cache => 1); $template->param(Targets => \@targets); return $template->output; }