X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMason.pm;h=f628313f6b882b76c031f225ae48029f85ec8ed2;hb=b9cf39b5041702b3211a4ea5b471a3b059cd81ea;hp=c132074741d54472514940f915147f5bac7755b5;hpb=1594e450be1c4f0c9f9a2d98ab72c714a4695bdc;p=freeside.git diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index c13207474..f628313f6 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -135,6 +135,7 @@ if ( -e $addl_handler_use_file ) { use FS::Report::FCC_477; use FS::Report::Table::Monthly; use FS::TicketSystem; + use FS::NetworkMonitoringSystem; use FS::Tron qw( tron_lint ); use FS::agent; @@ -262,6 +263,9 @@ if ( -e $addl_handler_use_file ) { use FS::qual; use FS::qual_option; use FS::dsl_note; + use FS::part_pkg_vendor; + use FS::cust_note_class; + use FS::svc_port; # Sammath Naur if ( $FS::Mason::addl_handler_use ) { @@ -456,7 +460,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' ) {