make the request object available through the generator object
authorTony Cook <tony@develop-help.com>
Sat, 2 Nov 2013 00:39:40 +0000 (11:39 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 2 Nov 2013 00:39:40 +0000 (11:39 +1100)
for first pass template processing

site/cgi-bin/modules/Generate.pm

index 37fa5a615c546f7e04a93d46c3e7accf8ea1d631..c51b6a40d9d2d07307128a96548f0d395ff4690a 100644 (file)
@@ -313,7 +313,7 @@ Conditional tag, true if the current article is being embedded.
 
 =cut
 
-our $VERSION = "1.019";
+our $VERSION = "1.020";
 
 my $excerptSize = 300;
 
@@ -344,6 +344,10 @@ sub cfg {
   $_[0]{cfg};
 }
 
+sub request {
+  $_[0]{request};
+}
+
 sub url {
   my ($self, $article, $force_abs) = @_;