diff options
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-x | util/vndb.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/vndb.pl b/util/vndb.pl index ce780594..2901cdbb 100755 --- a/util/vndb.pl +++ b/util/vndb.pl @@ -31,6 +31,7 @@ YAWF::init( namespace => 'VNDB', object_data => \%S, pre_request_handler => \&reqinit, + post_request_handler => \&reqdone, error_404_handler => \&handle404, ); @@ -41,6 +42,12 @@ sub reqinit { } +sub reqdone { + my $self = shift; + $self->multiCmd; +} + + sub handle404 { my $self = shift; $self->htmlHeader(title => 'Page Not Found'); @@ -55,3 +62,4 @@ sub handle404 { $self->htmlFooter; } + |