diff --git a/src/InfiniteTree.php b/src/InfiniteTree.php index bb72dc9..3ee9ad3 100644 --- a/src/InfiniteTree.php +++ b/src/InfiniteTree.php @@ -88,12 +88,7 @@ public function __construct($tableName = "", $dbConfig = [], $keyConfig = []) throw $e; } } - - public function __destruct() - { - // TODO: Implement __destruct() method. - mysqli_close($this->_db); - } + /** * 配置对应的键