projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACL for hardware class config, RT#85057
[freeside.git]
/
rt
/
sbin
/
standalone_httpd.in
diff --git
a/rt/sbin/standalone_httpd.in
b/rt/sbin/standalone_httpd.in
index
0d11f01
..
8caefdb
100644
(file)
--- a/
rt/sbin/standalone_httpd.in
+++ b/
rt/sbin/standalone_httpd.in
@@
-3,7
+3,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
5
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)
@@
-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;
}