I still have my problem, and when I print the content of $this->params with: "pr($this->params)" in the app_controller, the $this- >params['week'] and $this->params['year'] still contains the same value (the week value).
I have managed to access the year value with $this->params['pass'][0], but I don't like that solution... The custom regular expressions is working as expected, because when I go to the url i.e. "/week/2/20008" it returns an error (because of the incorrect year value). On 6 Jan, 12:30, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I solved my problem, it was because I have a function __construct in > my app_controller, and I'm checking $this->params['language'] in the > function __construct. > > Moved code to app_controller beforeFilter, and $this- > > >params['language'] is set. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
