X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2FRT_SiteConfig.pm;h=d22da42a14c1cacc9fac88f6b6d5d3ffa558d4a3;hb=7322f2afedcc2f427e997d1535a503613a83f088;hp=cb44d07dde2b8371ea9b6c17b5bb4b6c9068079f;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm index cb44d07dd..d22da42a1 100644 --- a/rt/etc/RT_SiteConfig.pm +++ b/rt/etc/RT_SiteConfig.pm @@ -1,16 +1,21 @@ -# Any configuration directives you include here will override +use utf8; + +# 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. # +# If this file includes non-ASCII characters, it must be encoded in +# UTF-8. +# # 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: +# this command: # # perl -c /path/to/your/etc/RT_SiteConfig.pm @@ -25,14 +30,14 @@ Set($Organization, '%%%RT_DOMAIN%%%'); Set($Timezone, '%%%RT_TIMEZONE%%%'); -Set($WebExternalAuth, 1); +Set($WebRemoteUserAuth, 1); Set($WebFallbackToInternal, 1); #no -Set($WebExternalAuto, 1); +Set($WebRemoteUserAutocreate, 1); $RT::URI::freeside::IntegrationType = 'Internal'; $RT::URI::freeside::URL = '%%%FREESIDE_URL%%%'; -$RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)$)i; +$RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)?$)i; Set($WebBaseURL, $1); Set($WebPath, "$2/rt"); @@ -49,7 +54,7 @@ Set($MessageBoxWidth, 80); Set($MessageBoxRichTextHeight, 368); #redirects to ticket display on quick create -#Set($QuickCreateRedirect, 1); +#Set($DisplayTicketAfterQuickCreate, 1); #Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));