index
:
volse-hubzilla.git
dev
drop-unused-html5-library
master
tests/test-db-setup-wip
Volse Hubzilla -- soft fork of main Hubzilla core for Volse
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rwxr-xr-x
boot.php
3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 6b49e795c..27bf921ce 100755
--- a/
boot.php
+++ b/
boot.php
@@ -1656,7 +1656,8 @@ function goaway($s) {
function shutdown() {
global $db;
- $db->close();
+ if($db)
+ $db->close();
}
/**