Advertisement
  1. Code
  2. PHP
  3. CodeIgniter

How to Create a Config Variables Loader in CodeIgniter

Scroll to top
1 min read

If you’ve been using CodeIgniter or another MVC framework for any length of time, you’ve probably started to realize the advantage of abstracting data and logic from presentation. But efficiency is not without its drawbacks, and in the case of CodeIgniter, one of these drawbacks is the need to constantly bounce variables out of your controllers so that they are available in your views.


Full Screencast


Advertisement
Did you find this post useful?
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Code tutorials. Never miss out on learning about the next big thing.
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.