[eluser]Avatar[/eluser]
I'm tryin gto load a config file like this:
Code:
$this->ci->config->load('themes/templates/dark/config/theme.php');
I've also tried this:
Code:
$this->config->load('../views/smarty/templates/dark/config/theme.php');
It echoes the config to my browser and any code after the above line doesn't execute. How would I be able to load a config file from a different directory. Say I want to have each template have a config file. How would I do this?
Actually code after it executes, just the styles don't load for some reason. But it loads the views. Also I've tried without the EXT as above. If I extend the Config libs load function this should fix it. Is there a way to do without extends?