Welcome Guest, Not a member yet? Register   Sign In
How to disable default route when custom route set ?
#1

[eluser]Unknown[/eluser]
Hi,

I'm developping my first application with CodeIgniter and I encounter an issue with the routes.

In the routes.php file, I wrote :
Code:
$route['membres/deconnexion'] = 'users/logout';

It works like a charm, but '/users/logout' is always accessible.
So here's my question : how to disable the former route, or at least, redirect to the new one ?

Thank's in advance




Theme © iAndrew 2016 - Forum software by © MyBB