aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-15 13:20:17 -0700
committerredmatrix <git@macgirvin.com>2016-05-15 13:20:58 -0700
commite8ad16cf2a9121c4d0474fb3195e46342b1e2628 (patch)
tree7d021a50bc42b370e3d93c46b1cf039f3cbda45b /boot.php
parentf05b4637b927800cbc496b1dbbbea02ab2c09974 (diff)
downloadvolse-hubzilla-e8ad16cf2a9121c4d0474fb3195e46342b1e2628.tar.gz
volse-hubzilla-e8ad16cf2a9121c4d0474fb3195e46342b1e2628.tar.bz2
volse-hubzilla-e8ad16cf2a9121c4d0474fb3195e46342b1e2628.zip
issue #387
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 86e61c6bc..7d359d011 100755
--- a/boot.php
+++ b/boot.php
@@ -1669,7 +1669,8 @@ function goaway($s) {
function shutdown() {
global $db;
- $db->close();
+ if($db)
+ $db->close();
}
/**