in file routes.php, you've the variable $from_url (or something like
this, search the groups etc.).
You can parse manually this variable in that file, and modify it. Proof
of concept:
routes.php
<?php
$parts=split('/',$from_url);
$lang=$parts[0];
//Save $lang to session
$from_url = $parts[1] . '/' . $parts[2] .... // do it with
something like join()
$route-> ....
?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---