Welcome Guest, Not a member yet? Register   Sign In
User agent code for entire application
#2

[eluser]tonanbarbarian[/eluser]
if you set the value you want in the config object you will be able to access it anywhere
Code:
$this->config->set_item('my_value', $value);
then to read it
Code:
$this->config->item('my_value');
Just make sure that the name you use is unique so that it does not overwrite a core CI config value


Messages In This Thread
User agent code for entire application - by El Forum - 01-08-2008, 04:17 PM
User agent code for entire application - by El Forum - 01-08-2008, 04:33 PM
User agent code for entire application - by El Forum - 01-08-2008, 04:40 PM
User agent code for entire application - by El Forum - 01-08-2008, 04:49 PM
User agent code for entire application - by El Forum - 01-08-2008, 04:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB