Welcome Guest, Not a member yet? Register   Sign In
Help with routes
#12

[eluser]louis w[/eluser]
@mironcho: No worries, I missed it myself on the paste too.

Code:
$route['admin/(.*)']    = "admin/$1";
$route['admin']         = "admin";
$route['(.*)']          = "page/$1";

This works for /admin/foo requests. I guess I will just use this one instead of the more compact.


Messages In This Thread
Help with routes - by El Forum - 04-23-2008, 12:07 PM
Help with routes - by El Forum - 04-23-2008, 02:38 PM
Help with routes - by El Forum - 04-23-2008, 02:44 PM
Help with routes - by El Forum - 04-23-2008, 03:03 PM
Help with routes - by El Forum - 04-23-2008, 03:06 PM
Help with routes - by El Forum - 04-23-2008, 03:11 PM
Help with routes - by El Forum - 04-23-2008, 03:35 PM
Help with routes - by El Forum - 04-23-2008, 03:40 PM
Help with routes - by El Forum - 04-23-2008, 03:43 PM
Help with routes - by El Forum - 04-23-2008, 03:44 PM
Help with routes - by El Forum - 04-23-2008, 03:46 PM
Help with routes - by El Forum - 04-23-2008, 03:51 PM
Help with routes - by El Forum - 04-23-2008, 03:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB