Skip to content

Conversation

@stoppy
Copy link

@stoppy stoppy commented Sep 11, 2014

If no endpoint is specified in config files, if is not checked, $this->api_endpoint will be empty.

if(strlen(trim($this->ci->config->item('api_endpoint')))>0){
$this->api_endpoint = $this->ci->config->item('api_endpoint');
}

It checks

If no endpoint is specified in config files, if is not checked, $this->api_endpoint will be empty.

if(strlen(trim($this->ci->config->item('api_endpoint')))>0){
            		$this->api_endpoint = $this->ci->config->item('api_endpoint');
        	}

It checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant