[freeside-commits] freeside/FS/FS Mason.pm,1.61,1.62

Ivan,,, ivan at wavetail.420.am
Mon Dec 27 00:40:21 PST 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv16912/FS/FS

Modified Files:
	Mason.pm 
Log Message:
torrus, RT#10574

Index: Mason.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Mason.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -w -d -r1.61 -r1.62
--- Mason.pm	10 Dec 2010 06:02:50 -0000	1.61
+++ Mason.pm	27 Dec 2010 08:40:19 -0000	1.62
@@ -458,7 +458,8 @@
 
   #my $request_class = 'HTML::Mason::Request'.
                       #( $mode eq 'apache' ? '::ApacheHandler' : '' );
-  my $request_class = 'FS::Mason::Request';
+  my $request_class = $mode eq 'standalone' ? 'FS::Mason::StandaloneRequest'
+                                            : 'FS::Mason::Request';
 
   #not entirely sure it belongs here, but what the hey
   if ( %%%RT_ENABLED%%% && $mode ne 'standalone' ) {



More information about the freeside-commits mailing list