vbujak

Results 1 comments of vbujak

here is correct __construct: ``` $this->ci =& get_instance(); $this->ci->load->config('mailchimp', TRUE); $this->api_key = $this->ci->config->item('api_key', 'mailchimp'); $this->api_endpoint = $this->ci->config->item('api_endpoint', 'mailchimp'); list(, $datacentre) = explode('-', $this->api_key); $this->api_endpoint = str_replace('', $datacentre, $this->api_endpoint); ```