X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FMason.pm;h=2d45e78a1d0737e0d25dfefeb88188a618d404c1;hp=9b010e8d6801837e8f8c94f38fce46b08788b8f3;hb=3f8ef5c72aa4fbfad5c320d91abdd4f2d547c029;hpb=74e058c8a010ef6feb539248a550d0bb169c1e94;ds=sidebyside diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index 9b010e8d6..2d45e78a1 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -458,7 +458,8 @@ sub mason_interps { #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' ) {