Welcome Guest, Not a member yet? Register   Sign In
Loading config items from models

Hi, folks!

I'm trying to load config items from my models, but I can't do. I have important values to be used in model functions parameters and I really need this.

I already tryed:

var $config_value = $this->config->item('whatever');


var $CI =& get_instance();
var $config_value = $CI->config->item('whatever');

But not works. :down:


Messages In This Thread
Loading config items from models - by El Forum - 12-14-2011, 12:55 PM

Theme © iAndrew 2016 - Forum software by © MyBB