resolve style weirdness (fallout from RT integration), especially non-fixed-width...
[freeside.git] / rt / etc / RT_SiteConfig.pm
1 # Any configuration directives you include  here will override 
2 # RT's default configuration file, RT_Config.pm
3 #
4 # To include a directive here, just copy the equivalent statement
5 # from RT_Config.pm and change the value. We've included a single
6 # sample value below.
7 #
8 # This file is actually a perl module, so you can include valid
9 # perl code, as well.
10 #
11 # The converse is also true, if this file isn't valid perl, you're
12 # going to run into trouble. To check your SiteConfig file, use
13 # this comamnd:
14 #
15 #   perl -c /path/to/your/etc/RT_SiteConfig.pm
16
17 #Set( $rtname, 'example.com');
18
19 # These settings should have been inserted by the initial Freeside install.
20 # Sometimes you may want to change domain, timezone, or freeside::URL later,
21 # everything else should probably stay untouched.
22
23 $RT::rtname = '%%%RT_DOMAIN%%%';
24 $RT::Organization = '%%%RT_DOMAIN%%%';
25
26 $RT::Timezone = '%%%RT_TIMEZONE%%%';
27
28 $RT::WebExternalAuth = 1;
29 $RT::WebFallbackToInternal = 1; #no
30 $RT::WebExternalAuto = 1;
31
32 $RT::URI::freeside::IntegrationType = 'Internal';
33 $RT::URI::freeside::URL = '%%%FREESIDE_URL%%%';
34
35 $RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)$)i;
36 $RT::WebBaseURL = $1;
37 $RT::WebPath = "$2/rt";
38
39 Set($DatabaseHost   , '');
40
41 # These settings are user-editable.
42
43 #old, RT 3.4 style (deprecated, useless):
44 #$RT::MyTicketsLength = 10;
45 #NEW, RT 3.6 style (uncomment to use):
46 #Set($DefaultSummaryRows, 10);
47
48 $RT::QuickCreateLong = 0; #set to true to cause quick ticket creation to
49                           #redirect to the "long" ticket creation screen
50                           #instead of just creating a ticket with the subject.
51
52 Set($MessageBoxWidth , 80);
53
54 1;