Welcome Guest, Not a member yet? Register   Sign In
Get and Override Default Controller Programmatically
#11

[eluser]CroNiX[/eluser]
These should work. You have to access the router object, not "routes"...
Code:
print_r($this->router->routes);
or
Code:
global $RTR;
print_r($RTR->routes);

Code:
echo $this->router->routes['default_controller'];


Messages In This Thread
Get and Override Default Controller Programmatically - by El Forum - 07-31-2012, 04:42 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 07:46 AM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 07:53 AM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 10:13 AM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 01:10 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 01:42 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 01:51 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:00 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:08 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:12 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:17 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:24 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB