Welcome Guest, Not a member yet? Register   Sign In
How can I accomplish this? pls
#5

[eluser]xwero[/eluser]
using regex you could get it in one line
Code:
$route['(help|forum)(.+)?'] = '$1$2';
You only need to add your controllers or first directory and the rest will be picked up by the second part of the regex.


Messages In This Thread
How can I accomplish this? pls - by El Forum - 01-25-2008, 02:44 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 02:52 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 03:36 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 04:50 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 05:10 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 06:04 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 06:22 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 07:02 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 07:32 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 07:43 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 08:32 AM
How can I accomplish this? pls - by El Forum - 01-25-2008, 03:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB