aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.php')
-rw-r--r--daemon.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon.php b/daemon.php
index cac2adf..6704053 100644
--- a/daemon.php
+++ b/daemon.php
@@ -136,8 +136,7 @@
$stmt->bind_param("sds", $result, $returncode, $handle);
$stmt->execute();
$stmt->close();
- $db->close();
-
+
$query = "SELECT port FROM ports ORDER BY port DESC LIMIT 1";
$stmt = $db->prepare($query);
$stmt->execute();