Codeigniter Adaption