projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/jgoodman/Freeside
[freeside.git]
/
rt
/
sbin
/
rt-server.in
diff --git
a/rt/sbin/rt-server.in
b/rt/sbin/rt-server.in
index
45c3770
..
0d11f01
100644
(file)
--- a/
rt/sbin/rt-server.in
+++ b/
rt/sbin/rt-server.in
@@
-3,7
+3,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-91,6
+91,7
@@
if (grep { m/help/ } @ARGV) {
require RT;
RT->LoadConfig();
require RT;
RT->LoadConfig();
+RT->InitPluginPaths();
RT->InitLogging();
require Module::Refresh if RT->Config->Get('DevelMode');
RT->InitLogging();
require Module::Refresh if RT->Config->Get('DevelMode');
@@
-126,7
+127,7
@@
EOF
RT->InstallMode(1);
} else {
RT->InstallMode(1);
} else {
- RT->Init();
+ RT->Init(
Heavy => 1
);
my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'post');
unless ( $status ) {
my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'post');
unless ( $status ) {
@@
-172,7
+173,7
@@
if (caller) {
require Plack::Runner;
my $is_fastcgi = $0 =~ m/fcgi$/;
require Plack::Runner;
my $is_fastcgi = $0 =~ m/fcgi$/;
-my $r = Plack::Runner->new( $0 =~
'standalone'
? ( server => 'Standalone' ) :
+my $r = Plack::Runner->new( $0 =~
/standalone/
? ( server => 'Standalone' ) :
$is_fastcgi ? ( server => 'FCGI' )
: (),
env => 'deployment' );
$is_fastcgi ? ( server => 'FCGI' )
: (),
env => 'deployment' );