Video icon 64
Learn to Code. Start your free trial today.

How to Create a Config Variables Loader in CodeIgniter

Student iconAre you a student? Get a yearly Tuts+ subscription for $45 →

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