Skip to content

Commit

Permalink
Merge pull request #60 from nguyenanhung/v3.2.0-develop
Browse files Browse the repository at this point in the history
Fix disconnect database
  • Loading branch information
nguyenanhung authored Sep 13, 2024
2 parents 4e4ae0b + 13f3a5a commit 1bb1708
Show file tree
Hide file tree
Showing 4 changed files with 5,207 additions and 5,174 deletions.
5 changes: 4 additions & 1 deletion custom/HungNG_CI_Base_Custom_Model_Credentials_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ public function __destruct()
{
if ($this->db->conn_id) {
$this->db->close();
log_message('info', 'HungNG_CI_Base_Custom_Model_Credentials_model Class Destructed');
log_message(
'info',
'Model "HungNG_CI_Base_Custom_Model_Credentials_model" Class Destructed and database disconnected'
);
}
}

Expand Down
Loading

0 comments on commit 1bb1708

Please sign in to comment.