Destroy session before unloading the library

This commit is contained in:
Eike Foken
2011-09-16 15:07:33 +02:00
parent bc1f0e4044
commit 1fcd8794be
2 changed files with 5 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ class Api extends CI_Controller {
*/
public function __construct() {
parent::__construct();
$this->session->sess_destroy();
unset($this->session);
}