config->load(‘xxx’, TRUE); in autoload.php ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: config->load(‘xxx’, TRUE); in autoload.php ? (/showthread.php?tid=12459) |
config->load(‘xxx’, TRUE); in autoload.php ? - El Forum - 10-20-2008 [eluser]meglio[/eluser] Hi. I have posted the same question to the CodeIgniter discussion, but nobody helps. Maybe this thread is more right place for such questions. I want to keep config files under different keys of $config variable (the technic of this is descibed in documentation: http://ellislab.com/codeigniter/user-guide/libraries/config.html Manually I can do it so (for application/config/xxx.php): $this->config->load('xxx', TRUE) How to do it in autoload.php file? Thanks, Anton config->load(‘xxx’, TRUE); in autoload.php ? - El Forum - 10-20-2008 [eluser]xwero[/eluser] It's not possible with the autoload. Loader library snippet Code: function _ci_autoloader() config->load(‘xxx’, TRUE); in autoload.php ? - El Forum - 10-20-2008 [eluser]meglio[/eluser] Thanks, then it seems that it will be good fix for next version to allow this in autoload.php |