[eluser]macigniter[/eluser]
I have controllers in a subfolder and also use some routing features for different languages. So let's say I have URIs like these:
Code:
www.domain.com/de/admin/overview
www.domain.com/en/admin/overview
I simply want to retrieve...
...but cannot get it to work with
$this->uri->ruri_string() which unfortunately does NOT include the subfolder
admin. It always returns:
I know I could be using
$this->uri->uri_string() which will be returning:
BUT since the routing will not always be used I need a solution which works whether routing is used or not. Does anyone have a solution for this!?
So the main question is:
How do I get the controller
including a subfolder from a (possibly re-routed) URI?