summaryrefslogtreecommitdiff
path: root/rt/share/html/Install/index.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-09-29 16:36:46 -0700
committerMark Wells <mark@freeside.biz>2012-09-29 16:36:46 -0700
commit33beebf4cb42eba3e1dd868ad5e0af102de961da (patch)
tree860712543dcc74ff2402a4ed8d73e8cd553e62d4 /rt/share/html/Install/index.html
parent7ac86daf67b0a95153b736d5811f9050363f6553 (diff)
update address standardization for cust_location changes
Diffstat (limited to 'rt/share/html/Install/index.html')
-rw-r--r--rt/share/html/Install/index.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/rt/share/html/Install/index.html b/rt/share/html/Install/index.html
index bc9573bdc..78069afe3 100644
--- a/rt/share/html/Install/index.html
+++ b/rt/share/html/Install/index.html
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -76,11 +76,12 @@
<h2><% loc('Getting started') %></h2>
<p>
<b>
-<&|/l&>You're seeing this screen because you started up an RT server without a working database. Most likely, this is the first time you're running RT. If you click <i>Let's go!</i> below, RT will guide you through setting up your RT server and database.</&>
+<&|/l, loc("Let's go!") &>You're seeing this screen because you started up an RT server without a working database. Most likely, this is the first time you're running RT. If you click "[_1]" below, RT will guide you through setting up your RT server and database.</&>
</b>
</p>
<p>
-<&|/l&>If you already have a working RT server and database, you should take this opportunity to make sure that your database server is running and that the RT server can connect to it. Once you've done that, stop and start the RT server.</p></&>
+<&|/l&>If you already have a working RT server and database, you should take this opportunity to make sure that your database server is running and that the RT server can connect to it. Once you've done that, stop and start the RT server.</&>
+</p>
</div>
<& /Elements/Submit, Label => loc( "Let's go!"), Name => 'Run' &>
@@ -91,7 +92,7 @@
my @errors;
my $locked;
-my $file = File::Spec->catfile( $RT::EtcPath, 'RT_SiteConfig.pm' );
+my $file = RT::Installer->ConfigFile;
if ( ! -e $file ) {
# write a blank RT_SiteConfig.pm
@@ -110,7 +111,7 @@ elsif ( $Run ) {
for my $field (
qw/DatabaseType DatabaseName DatabaseHost DatabasePort
DatabaseUser DatabaseRequireSSL rtname
- Organization Timezone CommentAddress CorrespondAddress
+ Organization CommentAddress CorrespondAddress
SendmailPath WebDomain WebPort/
) {
$RT::Installer->{InstallConfig}{$field} ||= RT->Config->Get($field);
@@ -124,12 +125,12 @@ elsif ( $Run ) {
RT::Interface::Web::Redirect(RT->Config->Get('WebURL') . 'Install/DatabaseType.html');
} elsif ( $ChangeLang && $Lang ) {
# hackish, but works
- $session{'CurrentUser'} = new RT::CurrentUser;
+ $session{'CurrentUser'} = RT::CurrentUser->new;
$session{'CurrentUser'}->LanguageHandle( $Lang );
}
my $lang_handle = do { local $@;
eval {
- ($session{'CurrentUser'} || RT::CurrentUser->new($RT::SystemUser->Id))
+ ($session{'CurrentUser'} || RT::CurrentUser->new(RT->SystemUser->Id))
->LanguageHandle
}
};