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

[eluser]kolxoznik1[/eluser]
Thank you for answer but I get an error trying to do as you write above.

Here is all my route
Code:
$route['default_controller'] = "main_page";
$route['404_override'] = '';

$route['upload'] = "images/upload_image";

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

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

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

The problem is that
Code:
$route['(:any)/(:any)']
do not work both only that one what is below in this example work only
Code:
$route['(:any)/(:any)'] = "auth/login_from_index";
but
Code:
$route['(:any)/(:any)'] = "auth/logout";
- do not work . Why?


Messages In This Thread
Routes - by El Forum - 01-19-2012, 07:31 PM
Routes - by El Forum - 01-19-2012, 09:42 PM
Routes - by El Forum - 01-19-2012, 11:48 PM
Routes - by El Forum - 01-20-2012, 01:09 AM
Routes - by El Forum - 01-20-2012, 02:52 AM
Routes - by El Forum - 01-20-2012, 04:04 AM
Routes - by El Forum - 01-20-2012, 05:58 PM
Routes - by El Forum - 01-20-2012, 07:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB