Welcome Guest, Not a member yet? Register   Sign In
Routes question
#5

[eluser]Azrael91[/eluser]
[quote author="Aken" date="1310990056"]
Code:
$routes['(:any)'] = 'webshop/pages/$1';

You may want to reconsider having a single controller function serving all your pages, though. It makes your code more complicated, less compartmentalized and just more difficult in general.[/quote]

I don't know why it didn't work ar first ... now it does Smile. Another quick question:

This conflicts ... is there any other way ?
Code:
$route['(:any)'] = 'webshop/produse/$1';
$route['(:any)'] = 'webshop/pages/$1';


Messages In This Thread
Routes question - by El Forum - 07-18-2011, 12:44 AM
Routes question - by El Forum - 07-18-2011, 12:54 AM
Routes question - by El Forum - 07-18-2011, 01:13 AM
Routes question - by El Forum - 07-18-2011, 10:40 AM
Routes question - by El Forum - 08-04-2011, 01:01 AM
Routes question - by El Forum - 08-04-2011, 02:37 AM
Routes question - by El Forum - 08-04-2011, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB