[interchange-cvs] interchange - racke modified lib/Vend/Dispatch.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Jul 27 05:37:27 EDT 2005
User: racke
Date: 2005-07-27 09:37:27 GMT
Modified: lib/Vend Dispatch.pm
Log:
run autoend macro at the end of each job to complement autoload like for
ordinary page requests
Revision Changes Path
1.57 +6 -3 interchange/lib/Vend/Dispatch.pm
rev 1.57, prev_rev 1.56
Index: Dispatch.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Dispatch.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- Dispatch.pm 9 Jun 2005 17:57:05 -0000 1.56
+++ Dispatch.pm 27 Jul 2005 09:37:26 -0000 1.57
@@ -1,8 +1,8 @@
# Vend::Dispatch - Handle Interchange page requests
#
-# $Id: Dispatch.pm,v 1.56 2005/06/09 17:57:05 docelic Exp $
+# $Id: Dispatch.pm,v 1.57 2005/07/27 09:37:26 racke Exp $
#
-# Copyright (C) 2002-2003 Interchange Development Group
+# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 2002 Mike Heins <mike at perusion.net>
#
# This program was originally based on Vend 0.2 and 0.3
@@ -26,7 +26,7 @@
package Vend::Dispatch;
use vars qw($VERSION);
-$VERSION = substr(q$Revision: 1.56 $, 10);
+$VERSION = substr(q$Revision: 1.57 $, 10);
use POSIX qw(strftime);
use Vend::Util;
@@ -769,6 +769,9 @@
run_macro($jobscfg->{autoload});
push @out, interpolate_html($_->[1]);
+
+ # Run once at end of each job
+ run_macro($jobscfg->{autoend});
}
}
else {
More information about the interchange-cvs
mailing list