Welcome Guest, Not a member yet? Register   Sign In
hwo to set URI router Case-insensitive ?
#4

[eluser]xwero[/eluser]
[quote author="TheFuzzy0ne" date="1236699785"]Try something like this:
Code:
$route['/member(.*)/i'] = "member$1";
[/quote]
That wouldn't work because the router uses this code to check the routes
Code:
if (preg_match('#^'.$key.'$#', $uri))
The line is found in the _parse_routes method


Messages In This Thread
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:29 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:40 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:43 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:46 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:51 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:05 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:08 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:16 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:22 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:41 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:48 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 06:39 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 07:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB