NAME

	RT - Request Tracker

SYNOPSIS

	A fully featured request tracker package

DESCRIPTION

LoadConfig

Load RT's config file. First, go after the core config file. After that, try to load the vendor config. After that, go after the site config.

Init
    Conenct to the database, set up logging.
    
=cut

sub Init {

    #Get a database connection
    ConnectToDatabase();
    #RT's system user is a genuine database user. its id lives here
    $SystemUser = new RT::CurrentUser();
    $SystemUser->LoadByName('RT_System');
    
    #RT's "nobody user" is a genuine database user. its ID lives here.
    $Nobody = new RT::CurrentUser();
    $Nobody->LoadByName('Nobody');
  
    $System = RT::System->new();
   InitLogging(); 
}
  
=head2 ConnectToDatabase

Get a database connection

DropSetGIDPermissions

Drops setgid permissions.

SYNOPSIS

BUGS

Please report them to rt-3.0-bugs@fsck.com, if you know what's broken and have at least some idea of what needs to be fixed. If you're not sure what's going on, report them rt-devel@lists.fsck.com.

SEE ALSO

RT::StyleGuide DBIx::SearchBuilder