// this is wrong! $this->config->load('filename'); // it should be like this! $this->load->config('filename');