Autoloading a configuration file ? |
[eluser]Amitabh Roy[/eluser]
As mentioned by @carlosrowlett , if you are setting the configuration values in your custom config file like for e.g. Code: $config['site_template_themes'] = 'http://localhost/mywebsite/assets/themes/'; To auto load your custom config file set Code: $autoload['config'] = array('MY_CONFIG_FILE'); in the applications/config/autoload.php But it also seems from your post that your issue may need to be dealt with hooks at pre_system and pre_controller hook points Codeigniter hooks |
Messages In This Thread |
Autoloading a configuration file ? - by El Forum - 03-02-2009, 12:27 PM
Autoloading a configuration file ? - by El Forum - 03-02-2009, 01:32 PM
Autoloading a configuration file ? - by El Forum - 07-08-2011, 03:05 AM
|