Skip to content
Snippets Groups Projects
Commit 99efe963 authored by marknl's avatar marknl
Browse files
parent 939b9236
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,10 @@ class db { ...@@ -54,6 +54,10 @@ class db {
//$this->connect(); //$this->connect();
} }
public function __destruct() {
$this->closeConn();
}
/** Error handler */ /** Error handler */
public function updateError($location) public function updateError($location)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment