06-19-2011, 03:14 AM
[eluser]Unknown[/eluser]
Hello,
I'm trying to get value which set at config.php from my controller:
Now I do it like this:
Is there any better way instead specifying 'config' twice?
Thanks
Hello,
I'm trying to get value which set at config.php from my controller:
Code:
$config['base_url'] = "http://localhost/ci/";
Now I do it like this:
Code:
$this->config->config['base_url']
Is there any better way instead specifying 'config' twice?
Thanks