load variables in config file |
[eluser]Bulk[/eluser]
You're not quite using the config system in the correct way... Firstly, if your config file is indeed named api_config.php you'll need a line similar to: Code: $this->load->config('api_config'); Then to access values from any config file (the main one, or yours) you would use this syntax: Code: $this->config->item('sendToProduction') Be sure to read the user guide for more information. |
Messages In This Thread |
load variables in config file - by El Forum - 07-17-2007, 07:14 PM
load variables in config file - by El Forum - 07-17-2007, 11:03 PM
load variables in config file - by El Forum - 07-18-2007, 02:00 AM
load variables in config file - by El Forum - 07-18-2007, 12:33 PM
|