[eluser]tinawina[/eluser]
I can't find an answer for this in other posts re: modular separation. I just implemented modular separation which is great but now my application can't find a helper file I created. Where do I put helper files? I tried saving it to these folders -- no luck:
system/helpers
system/application/helpers
system/applications/modules/module-name/helpers
I get this error: "Unable to load the requested file: myfile.php". One thing about this is I labeled the helper I created as "myfile_helper.php" per CI's instructions but the error message only shows myfile.php. As though it doesn't know that this is a helper file. I call it into my controller's constructor like so:
$this->load->helper('myfile');
This worked pre-modular separation implementation. Any help is appreciated!
I also have a config file I created for this app. I didn't move that file at all -- just kept it in it's original place which was in a sub-folder in the config folder: system/application/config/myfolder/myconfig.php. That still works but wondering if this is the best way to go about calling this file. I call it in the constructor like this:
$this->load->config('myfolder/myconfig');
Thanks for your help!