mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
be a bit more precise
This commit is contained in:
parent
e8ad16cf2a
commit
894114bfbd
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1669,7 +1669,7 @@ function goaway($s) {
|
|||
|
||||
function shutdown() {
|
||||
global $db;
|
||||
if($db)
|
||||
if(is_object($db) && $db->connected)
|
||||
$db->close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue