Update /lang route
This commit is contained in:
parent
5889e2eba2
commit
6e26e8dbdb
@ -227,9 +227,5 @@ dispatch('/lang/:locale', function($locale = 'en') {
|
||||
$_SESSION['locale'] = 'en';
|
||||
}
|
||||
|
||||
if(!empty($_GET['redirect_to'])) {
|
||||
redirect_to($_GET['redirect_to']);
|
||||
} else {
|
||||
redirect_to('/');
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user