CodeIgniter with  BaseController using Foundation