[eluser]bengrice[/eluser]
Hi there,
Quick question, i like the config files stuff in CI especially as you can create your own and include them to use globally.
my question is is it possible to get the value of a config variable from another config file?
Basically when i roll my system out i want to have one config files that holds all the values that are server/environment specific, so i only have to edit that config file.
the two ways i was thinking: call the config value into the other config file, my worry there is in what order do the config file get read in, and would the variables be available?
or (and i suppose this is a question) is the config array one bit array, ie in the email config file you might have $config['smtp_host'] and in the config config file you have $config['base_url'], is the '$config' array the same array? what im getting to is instead of having the email config file could i just put $config['smtp_host'] in the main config file?
hope someone understands me :cheese:
thanks in advance for any help / advice
ben