projects
/
bse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1484b96
)
make the request object available through the generator object
author
Tony Cook
<tony@develop-help.com>
Sat, 2 Nov 2013 00:39:40 +0000
(11:39 +1100)
committer
Tony 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
patch
|
blob
|
blame
|
history
diff --git
a/site/cgi-bin/modules/Generate.pm
b/site/cgi-bin/modules/Generate.pm
index 37fa5a615c546f7e04a93d46c3e7accf8ea1d631..c51b6a40d9d2d07307128a96548f0d395ff4690a 100644
(file)
--- a/
site/cgi-bin/modules/Generate.pm
+++ b/
site/cgi-bin/modules/Generate.pm
@@
-313,7
+313,7
@@
Conditional tag, true if the current article is being embedded.
=cut
-our $VERSION = "1.0
19
";
+our $VERSION = "1.0
20
";
my $excerptSize = 300;
@@
-344,6
+344,10
@@
sub cfg {
$_[0]{cfg};
}
+sub request {
+ $_[0]{request};
+}
+
sub url {
my ($self, $article, $force_abs) = @_;