[eluser]tarciozemel[/eluser]
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:
Code:
var $config_value = $this->config->item('whatever');
And
Code:
var $CI =& get_instance();
var $config_value = $CI->config->item('whatever');
But not works. :down:
Suggestions?