Code dump after migrating to codeigniter