diff options
Diffstat (limited to 'rt/bin/mason_handler.scgi.in')
-rw-r--r-- | rt/bin/mason_handler.scgi.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/rt/bin/mason_handler.scgi.in b/rt/bin/mason_handler.scgi.in index a853529d0..cd24bc8f8 100644 --- a/rt/bin/mason_handler.scgi.in +++ b/rt/bin/mason_handler.scgi.in @@ -56,18 +56,13 @@ require (dirname(__FILE__) . '/webmux.pl'); require CGI; -RT::Init(); -$Handler ||= RT::Interface::Web::Handler->new( - RT->Config->Get('MasonParameters') -); - - my $cgi = CGI->new; if ( ( !$Handler->interp->comp_exists( $cgi->path_info ) ) && ( $Handler->interp->comp_exists( $cgi->path_info . "/index.html" ) ) ) { $cgi->path_info( $cgi->path_info . "/index.html" ); } +RT::ConnectToDatabase(); $Handler->handle_cgi_object($cgi); RT::Interface::Web::Handler->CleanupRequest(); 1; |