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

@@ -32,14 +32,15 @@ class Xmlrpc extends MY_Controller {
* Calls the parent constructor.
*/
function __construct() {
unset($this->session); // unload sessions
parent::__construct();
$this->load->library('xmlrpc');
$this->load->library('xmlrpcs');
$this->load->model('server');
$this->session->sess_destroy();
unset($this->session); // unload sessions
}
/**