The absolutely bloated HMVC thread gives no answer (and no overview), so I’m trying here.
How do I load a custom config file (from a controller or view) for a module stored in a config.php file in the root of a module (also tried in a config folder)?:
And what is the requirements for this file? I’ve tried reading ALL of the HMVC wiki. But I can’t seem to figure this one out (either).
I’ve been trying all versions of
$config = $this->load->config('module/config');
$config = $this->load->config('config');
But all I get when I var_dump is:
bool(false) // Not loaded I guess
Anyone have an idea?