I have a custom helper that i use for logging.
Within one of the functions of the helper i need to get the name of the controller that was called. Is there a way to do i
You can also use the URI class
$ci = & get_instance(); $ci->uri->segment(1) // That stands for controller $ci->uri->segment(2) // That stands for method