• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Routing and Remap

#5
[eluser]tomcode[/eluser]
You're right, I forgot one line,

Code:
$route['default_controller'] = 'pages';

$route['admin/(:any)'] = 'admin/$1';
$route['admin'] = 'admin';

$route['auth/(:any)'] = 'auth/$1';
$route['auth'] = 'auth';

$route['(:any)'] = "pages/$1";


Messages In This Thread
Routing and Remap - by El Forum - 02-07-2010, 02:34 AM
Routing and Remap - by El Forum - 02-07-2010, 04:20 PM
Routing and Remap - by El Forum - 02-07-2010, 04:47 PM
Routing and Remap - by El Forum - 02-07-2010, 04:50 PM
Routing and Remap - by El Forum - 02-07-2010, 04:54 PM
Routing and Remap - by El Forum - 02-07-2010, 04:56 PM
Routing and Remap - by El Forum - 02-07-2010, 05:05 PM
Routing and Remap - by El Forum - 02-07-2010, 05:29 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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