• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Routes and '?'

#1
[eluser]umbungo[/eluser]
I would like /page/?(:anySmile to go to controller1, but /page/(:anySmile (and /page) to go to controller2

I tried the following unsucessfully;
Code:
$route['page/(\?)'] = '/controller1/controller1';
$route['bulbs/([^\?]*)'] = "controller2/controller2/$1";


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.