X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/97f850c55daaf35929b87fdc7f335556d17e0edc..f83543143581c2256a4f217746713a0b3c03a5c0:/codec.plp?ds=inline diff --git a/codec.plp b/codec.plp index 1ce4611..5c3e572 100644 --- a/codec.plp +++ b/codec.plp @@ -16,11 +16,11 @@ Html({ image audio video '], stylesheet => [qw'light circus dark red'], - data => [qw'codec.inc.pl'], + data => ["codec-$page.inc.pl"], raw => '', }); -my $info = do "codec-$page.inc.pl"; +my $info = Data("codec-$page"); $info and %{$info} > 1 or Abort("Requested codec type $page not available", '404 request not found', $@ // $!);