make the fckeditor taller, way too small
[freeside.git] / rt / etc / RT_SiteConfig.pm
index 5e3dc80..bfdfbbb 100644 (file)
 #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%%%';
-$RT::Organization = '%%%RT_DOMAIN%%%';
+Set($rtname, '%%%RT_DOMAIN%%%');
+Set($Organization, '%%%RT_DOMAIN%%%');
 
-$RT::Timezone = '%%%RT_TIMEZONE%%%';
+Set($Timezone, '%%%RT_TIMEZONE%%%');
 
-$RT::WebBaseURL = '';
-$RT::WebPath = '/freeside/rt';
-
-$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;
+Set($WebBaseURL, $1);
+Set($WebPath, "$2/rt");
+
 Set($DatabaseHost   , '');
 
 # These settings are user-editable.
 
-$RT::MyTicketsLength = 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($WebDefaultStylesheet, 'freeside2.1');
+
+#uncomment to use
+#Set($DefaultSummaryRows, 10);
+
+Set($MessageBoxWidth, 80);
+Set($MessageBoxRichTextHeight, 368);
 
+#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
 1;