X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2FRT_SiteConfig.pm;h=7a6f407356c721a038adc62e8fea6f82abe4fec0;hb=a404926bbec025159de0611ce95783488a8bd241;hp=5e3dc808172eca6bc580545e3ee7b74881e0f7fd;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm index 5e3dc8081..7a6f40735 100644 --- a/rt/etc/RT_SiteConfig.pm +++ b/rt/etc/RT_SiteConfig.pm @@ -17,7 +17,7 @@ #Set( $rtname, 'example.com'); # These settings should have been inserted by the initial Freeside install. -# Somtimes you may want to change domain, timezone, or freeside::URL later, +# Sometimes you may want to change domain, timezone, or freeside::URL later, # everything else should probably stay untouched. $RT::rtname = '%%%RT_DOMAIN%%%'; @@ -25,9 +25,6 @@ $RT::Organization = '%%%RT_DOMAIN%%%'; $RT::Timezone = '%%%RT_TIMEZONE%%%'; -$RT::WebBaseURL = ''; -$RT::WebPath = '/freeside/rt'; - $RT::WebExternalAuth = 1; $RT::WebFallbackToInternal = 1; #no $RT::WebExternalAuto = 1; @@ -35,13 +32,23 @@ $RT::WebExternalAuto = 1; $RT::URI::freeside::IntegrationType = 'Internal'; $RT::URI::freeside::URL = '%%%FREESIDE_URL%%%'; +$RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)$)i; +$RT::WebBaseURL = $1; +$RT::WebPath = "$2/rt"; + Set($DatabaseHost , ''); # These settings are user-editable. -$RT::MyTicketsLength = 10; +#old, RT 3.4 style (deprecated, useless): +#$RT::MyTicketsLength = 10; +#NEW, RT 3.6 style (uncomment to use): +#Set($DefaultSummaryRows, 10); + $RT::QuickCreateLong = 0; #set to true to cause quick ticket creation to #redirect to the "long" ticket creation screen #instead of just creating a ticket with the subject. +Set($MessageBoxWidth , 80); + 1;