Welcome Guest, Not a member yet? Register   Sign In
Custom Configuration File For Application
#7

[eluser]saidbakr[/eluser]
Hello,

Thank you all for your valuable help, specially, n0xie. I found that the way I used to get the configuration value was wrong!

I used : $config['the_index_of_conf'] and hence the application returns error tell that variable - config- is not defined. However, from the user guide, it is stated that to call the config value, we have to use the item method of the configuration object some thing like:
$this->config->item('the_index_of_config') and this will return the config value.


Messages In This Thread
Custom Configuration File For Application - by El Forum - 01-29-2009, 08:52 AM
Custom Configuration File For Application - by El Forum - 01-29-2009, 09:16 AM
Custom Configuration File For Application - by El Forum - 01-29-2009, 10:31 AM
Custom Configuration File For Application - by El Forum - 09-21-2009, 04:56 PM
Custom Configuration File For Application - by El Forum - 09-22-2009, 12:23 AM
Custom Configuration File For Application - by El Forum - 09-22-2009, 02:44 AM
Custom Configuration File For Application - by El Forum - 09-22-2009, 03:17 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 06:23 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 07:32 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 08:50 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 09:25 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 11:05 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 12:50 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 01:47 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 01:49 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 03:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB