X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fetc%2FRT_SiteConfig.pm;h=bfdfbbb8978a004d4c1f552373ef9df33fc8426d;hp=5c116c462b655e380d0e8237706595d92c94b791;hb=366d237dfb842d9bcbdf43477cb5eabef8fe6686;hpb=673b9a458d9138523026963df6fa3b4683e09bae diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm index 5c116c462..bfdfbbb89 100644 --- a/rt/etc/RT_SiteConfig.pm +++ b/rt/etc/RT_SiteConfig.pm @@ -1,22 +1,52 @@ -$RT::rtname = '%%%RT_DOMAIN%%%'; -$RT::Organization = '%%%RT_DOMAIN%%%'; +# Any configuration directives you include here will override +# RT's default configuration file, RT_Config.pm +# +# To include a directive here, just copy the equivalent statement +# from RT_Config.pm and change the value. We've included a single +# sample value below. +# +# This file is actually a perl module, so you can include valid +# perl code, as well. +# +# 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: +# +# perl -c /path/to/your/etc/RT_SiteConfig.pm -$RT::Timezone = '%%%RT_TIMEZONE%%%'; +#Set( $rtname, 'example.com'); -$RT::WebBaseURL = ''; -$RT::WebPath = '/freeside/rt'; +# 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::WebExternalAuth = 1; -$RT::WebFallbackToInternal = 1; #no -$RT::WebExternalAuto = 1; +Set($rtname, '%%%RT_DOMAIN%%%'); +Set($Organization, '%%%RT_DOMAIN%%%'); + +Set($Timezone, '%%%RT_TIMEZONE%%%'); + +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($WebDefaultStylesheet, 'freeside2.1'); + +#uncomment to use +#Set($DefaultSummaryRows, 10); + +Set($MessageBoxWidth, 80); +Set($MessageBoxRichTextHeight, 368); +#Set(@Plugins,(qw(Extension::QuickDelete RT::FM))); 1;