X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2FRT_SiteConfig.pm;h=daf136399c6eee134c0ea12ca59ea2ac072d43a1;hb=7903b3fb9ae73fc5fb46f98575141fbe9713f880;hp=affd36bb3a1e6fb2cf28157834081d41a89b6557;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm index affd36bb3..daf136399 100644 --- a/rt/etc/RT_SiteConfig.pm +++ b/rt/etc/RT_SiteConfig.pm @@ -10,31 +10,47 @@ # # The converse is also true, if this file isn't valid perl, you're # going to run into trouble. To check your SiteConfig file, use -# this comamnd: +# this command: # # perl -c /path/to/your/etc/RT_SiteConfig.pm #Set( $rtname, 'example.com'); -$RT::rtname = '%%%RT_DOMAIN%%%'; -$RT::Organization = '%%%RT_DOMAIN%%%'; +# These settings should have been inserted by the initial Freeside install. +# Sometimes you may want to change domain, timezone, or freeside::URL later, +# everything else should probably stay untouched. -$RT::Timezone = '%%%RT_TIMEZONE%%%'; +Set($rtname, '%%%RT_DOMAIN%%%'); +Set($Organization, '%%%RT_DOMAIN%%%'); -$RT::WebBaseURL = ''; -$RT::WebPath = '/freeside/rt'; +Set($Timezone, '%%%RT_TIMEZONE%%%'); -$RT::WebExternalAuth = 1; -$RT::WebFallbackToInternal = 1; #no -$RT::WebExternalAuto = 1; +Set($WebExternalAuth, 1); +Set($WebFallbackToInternal, 1); #no +Set($WebExternalAuto, 1); $RT::URI::freeside::IntegrationType = 'Internal'; $RT::URI::freeside::URL = '%%%FREESIDE_URL%%%'; +$RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)?$)i; +Set($WebBaseURL, $1); +Set($WebPath, "$2/rt"); + Set($DatabaseHost , ''); -#perl 5.8.0 - 5.8.2 experiment -#@EmailInputEncodings = qw(iso-8859-1 us-ascii utf-8); # unless (@EmailInputEncodings); -#Set($EmailOutputEncoding , 'iso-8859-1'); +# These settings are user-editable. + +Set($UsernameFormat, 'verbose'); #back to concise to hide email addresses + +#uncomment to use +#Set($DefaultSummaryRows, 10); + +Set($MessageBoxWidth, 80); +Set($MessageBoxRichTextHeight, 368); + +#redirects to ticket display on quick create +#Set($DisplayTicketAfterQuickCreate, 1); + +#Set(@Plugins,(qw(Extension::QuickDelete RT::FM))); 1;