Commit 99efe963 authored by marknl's avatar marknl
Browse files
parent 939b9236
...@@ -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)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment