Welcome Guest, Not a member yet? Register   Sign In
wiredesignz HMVC and routes
#3

[eluser]AlexKrycek[/eluser]
Thanks for your reply, indeed that's working!
Also found out (bit looks like yours more a nicer way to archive it) that changing

Code:
/* use module route if available */
if (isset($segments[0]) AND $routes = Modules::parse_routes($segments[0], implode('/', $segments))) {
$segments = $routes;
}

TO

Code:
/* use module route if available */
if (isset($segments[1]) AND $routes = Modules::parse_routes($segments[1], implode('/', $segments))) {
$segments = $routes;
}

Also works, however then its only for admin


Messages In This Thread
wiredesignz HMVC and routes - by El Forum - 05-28-2014, 02:19 AM
wiredesignz HMVC and routes - by El Forum - 05-28-2014, 02:48 AM
wiredesignz HMVC and routes - by El Forum - 05-28-2014, 02:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB