Unload session library for API und XMLRpc
This commit is contained in:
@@ -28,6 +28,14 @@
|
|||||||
*/
|
*/
|
||||||
class Api extends CI_Controller {
|
class Api extends CI_Controller {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unloads the session library.
|
||||||
|
*/
|
||||||
|
public function __construct() {
|
||||||
|
parent::__construct();
|
||||||
|
unset($this->session);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the state of a given job.
|
* Update the state of a given job.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ class Xmlrpc extends MY_Controller {
|
|||||||
* Calls the parent constructor.
|
* Calls the parent constructor.
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
unset($this->session); // unload sessions
|
||||||
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->load->library('xmlrpc');
|
$this->load->library('xmlrpc');
|
||||||
|
|||||||
Reference in New Issue
Block a user