summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorivan <ivan>2010-01-03 03:07:29 +0000
committerivan <ivan>2010-01-03 03:07:29 +0000
commit8d6987f81d3d5667b00b428580a05e7ac973279a (patch)
treead821e81780b6ee95f122d92a67e4cfb0050106e /rt
parent53e7b6322bf3cbbc3bcd24117b0b008cbe019217 (diff)
can't we all just get along (with RT 3.8.7)?
Diffstat (limited to 'rt')
-rw-r--r--rt/etc/RT_SiteConfig.pm21
1 files changed, 11 insertions, 10 deletions
diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm
index ef9fa13ae..513d2c46b 100644
--- a/rt/etc/RT_SiteConfig.pm
+++ b/rt/etc/RT_SiteConfig.pm
@@ -20,21 +20,21 @@
# Sometimes you may want to change domain, timezone, or freeside::URL later,
# everything else should probably stay untouched.
-$RT::rtname = '%%%RT_DOMAIN%%%';
-$RT::Organization = '%%%RT_DOMAIN%%%';
+Set($rtname, '%%%RT_DOMAIN%%%');
+Set($Organization, '%%%RT_DOMAIN%%%');
-$RT::Timezone = '%%%RT_TIMEZONE%%%';
+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;
-$RT::WebBaseURL = $1;
-$RT::WebPath = "$2/rt";
+Set($WebBaseURL, $1);
+Set($WebPath, "$2/rt");
Set($DatabaseHost , '');
@@ -45,11 +45,12 @@ Set($DatabaseHost , '');
#NEW, RT 3.6 style (uncomment to use):
#Set($DefaultSummaryRows, 10);
-$RT::QuickCreateLong = 0; #set to true to cause quick ticket creation to
+#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($MessageBoxWidth, 80);
#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
1;