X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMason.pm;h=2d45e78a1d0737e0d25dfefeb88188a618d404c1;hb=0f7643c1af2d909e0c3172e5bec0c01855fca1b9;hp=cb8130f73e8cf2ea021112b4fcb54c6acf5d6447;hpb=0873b7a148165c2022e64832c36481fd4f943732;p=freeside.git diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index cb8130f73..2d45e78a1 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -261,6 +261,9 @@ if ( -e $addl_handler_use_file ) { use FS::svc_dsl; use FS::qual; use FS::qual_option; + use FS::dsl_note; + use FS::part_pkg_vendor; + use FS::cust_note_class; # Sammath Naur if ( $FS::Mason::addl_handler_use ) { @@ -455,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' ) {