call any model or helper in codeigniter routes file

770 Views Asked by At

Is there any way so I can use any helper function in my routes.php?. Whenever I try to make $CI = & get_instance (); It's always give me error CI_controller not found? If I try to load any model that time also give me some error? How can I do this

0

There are 0 best solutions below