projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#23598: Feature Request - Email notice to A/R Report Results [now uses checkboxes...
[freeside.git]
/
rt
/
sbin
/
rt-server.fcgi.in
diff --git
a/rt/sbin/rt-server.fcgi.in
b/rt/sbin/rt-server.fcgi.in
index
632ba0b
..
5bd8f3e
100644
(file)
--- a/
rt/sbin/rt-server.fcgi.in
+++ b/
rt/sbin/rt-server.fcgi.in
@@
-3,7
+3,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
3
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)
@@
-127,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 ) {
@@
-138,6
+138,7
@@
EOF
# we must disconnect DB before fork
if ($RT::Handle) {
# we must disconnect DB before fork
if ($RT::Handle) {
+ $RT::Handle->dbh->disconnect if $RT::Handle->dbh;
$RT::Handle->dbh(undef);
undef $RT::Handle;
}
$RT::Handle->dbh(undef);
undef $RT::Handle;
}