[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason-cvs
Subject:    [Mason-checkins] CVS: mason/dist/install apache_tests_helper.pl,1.25,1.26
From:       Ken Williams <kwilliams () users ! sourceforge ! net>
Date:       2003-05-17 17:55:33
[Download RAW message or body]

Update of /cvsroot/mason/mason/dist/install
In directory sc8-pr-cvs1:/tmp/cvs-serv20069/install

Modified Files:
	apache_tests_helper.pl 
Log Message:
Fix a problem in specifying resolver/interp subclasses

Index: apache_tests_helper.pl
===================================================================
RCS file: /cvsroot/mason/mason/dist/install/apache_tests_helper.pl,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- apache_tests_helper.pl	29 Apr 2003 21:28:23 -0000	1.25
+++ apache_tests_helper.pl	17 May 2003 17:55:30 -0000	1.26
@@ -286,16 +286,14 @@
     my \$ah =
         HTML::Mason::ApacheHandler->new
             ( args_method => '$args_method',
+              interp_class => 'My::Interp',
+	      request_class => 'HTML::Mason::Request::ApacheHandler',
+	      resolver => \$res,
+	      error_mode => 'output',
+	      error_format => 'html',
+	      data_dir => '$APACHE{data_dir}',
               \%{\$ah_params[\$x]},
-              interp =>
-              # need to duplicate AH provided defaults here
-              My::Interp->new( request_class => 'HTML::Mason::Request::ApacheHandler',
-                               resolver_class => 'HTML::Mason::Resolver::File::ApacheHandler',
-                               error_mode => 'output',
-                               error_format => 'html',
-                               data_dir => '$APACHE{data_dir}',
-                               \%{\$interp_params[\$x]},
-                             ),
+	      \%{\$interp_params[\$x]},
             );
 
     chown Apache->server->uid, Apache->server->gid, \$ah->interp->files_written;



-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic