fix ticketing system error on bootstrap of new install
[freeside.git] / rt / etc / RT_SiteConfig.pm
index e7ce2a2..d22da42 100644 (file)
@@ -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");
 
@@ -40,17 +45,17 @@ Set($DatabaseHost   , '');
 
 # These settings are user-editable.
 
-Set($WebDefaultStylesheet, 'freeside2.1');
+Set($UsernameFormat, 'verbose'); #back to concise to hide email addresses
 
 #uncomment to use
 #Set($DefaultSummaryRows, 10);
 
-#does this do anything in RT 3.8??
-Set($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);
+Set($MessageBoxRichTextHeight, 368);
+
+#redirects to ticket display on quick create
+#Set($DisplayTicketAfterQuickCreate, 1);
 
 #Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
+
 1;