summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/DocViewer.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-02-17 13:45:10 +0000
committerfukachan <fukachan>2002-02-17 13:45:10 +0000
commitc72845fc89083628401acfda41ffc9b8b676657d (patch)
treecdc4833e831e88117dcc7c6df251ec43c21747ec /fml/lib/FML/Process/DocViewer.pm
parent6a16e0bcb67ca917850d647ee96e4c1e3829ed15 (diff)
downloadfml8-c72845fc89083628401acfda41ffc9b8b676657d.tar.gz
fml8-c72845fc89083628401acfda41ffc9b8b676657d.tar.bz2
fml8-c72845fc89083628401acfda41ffc9b8b676657d.zip
bug fix definitions on hooks
Diffstat (limited to 'fml/lib/FML/Process/DocViewer.pm')
-rw-r--r--fml/lib/FML/Process/DocViewer.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/DocViewer.pm b/fml/lib/FML/Process/DocViewer.pm
index afdfa4cb..8410fdf8 100644
--- a/fml/lib/FML/Process/DocViewer.pm
+++ b/fml/lib/FML/Process/DocViewer.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: DocViewer.pm,v 1.12 2001/12/22 14:40:34 fukachan Exp $
+# $FML: DocViewer.pm,v 1.13 2002/02/17 03:07:56 fukachan Exp $
#
package FML::Process::DocViewer;
@@ -70,6 +70,7 @@ sub new
sub prepare
{
my ($curproc, $args) = @_;
+ my $config = $curproc->{ config };
my $eval = $config->get_hook( 'fmldoc_prepare_start_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }
@@ -88,6 +89,7 @@ sub verify_request
{
my ($curproc, $args) = @_;
my $argv = $curproc->command_line_argv();
+ my $config = $curproc->{ config };
my $eval = $config->get_hook( 'fmldoc_verify_request_start_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }
@@ -205,6 +207,7 @@ finalize.
sub finish
{
my ($curproc, $args) = @_;
+ my $config = $curproc->{ config };
my $eval = $config->get_hook( 'fmldoc_finish_start_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }