Destroy session before unloading the library
This commit is contained in:
@@ -33,6 +33,8 @@ class Api extends CI_Controller {
|
||||
*/
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
|
||||
$this->session->sess_destroy();
|
||||
unset($this->session);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user