CodeIgniter Forums
Assets folder access to Config - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Assets folder access to Config (/showthread.php?tid=60217)



Assets folder access to Config - El Forum - 02-06-2014

[eluser]Unknown[/eluser]
I'm trying to create a custom themer for my site. I'm planning to store colours and variables either in a config file or a database - that will then be echoed throughout a php file 'disguised' as css, located in my assets folder.

Is it possible to access config items from the assets folder? How can I give the assets folder access to the CI object.

See my app structure:
CodeIgniter
- application
- assets
- system
- index.php