For instances of Kohana 2, the following applies:
You can do this using the router library. By default, this library is located in /system/libraries/Router.php- go and copy it to /application/libraries, as is standard practice for all libraries used.
Now from your application you can get the controller value from the static router class:
print Router::$controller;
Documentation
source
share