Welcome Guest, Not a member yet? Register   Sign In
Autoloading a configuration file ?
#3

[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/';
you should not have any problem. Else a look at what your config file does is needed.

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



Theme © iAndrew 2016 - Forum software by © MyBB