summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-11-13 20:55:50 +0100
committerYorhel <git@yorhel.nl>2008-11-13 20:55:50 +0100
commit66ae05366cf319a1d512bb79a7a7b384884e4a6a (patch)
treeeac02345416811ac6e204d9ca212c77000498429 /util
parent84c702bab88b4cdf6e74381ea228faf2672195fa (diff)
Added functions to send commands to Multi
Diffstat (limited to 'util')
-rwxr-xr-xutil/vndb.pl8
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;
}
+