[eluser]opel[/eluser]
I am in the middle of building a large site that has a front end, admin and client area and have been using the modular extension library with controllers in the following format :
module
--controllers
----client.php
----module.php
----admin.php
Every works great however I want to set some global variables across all three areas e.g. company information, terms and conditions.
I have set up a company module and a pages module but I'm not sure the most efficient way in CI of passing the data.
Should I create a library or use a pre-controller hook ?
Any advice or examples of similar experiences would be appreciated.
Cheers