Welcome Guest, Not a member yet? Register   Sign In
(Newbie) Detecing requested controller?
#1

[eluser]Unknown[/eluser]
Newbie question - what is the best way for determining the controller being requested? I am trying to create a navigation bar and want to change the div based on the controller. Thanks in advance!
#2

[eluser]Phil Sturgeon[/eluser]
Easiest way would probably be:

Code:
$this->uri->rsegment(1, '');




Theme © iAndrew 2016 - Forum software by © MyBB