> I'm pretty sure that a components startup method is called _after_ > beforeFilter, this is why the component is not available.
...I think you may be right (from looking at dispatcher.php in the cake source code). However, that's got me wondering... how do any of those examples (including some in the bakery I seem to recall) that put ACL calls in beforeFilter ever work...? On Aug 28, 5:19 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > As far I can tell, I don't think the 'startup' method in acl.php is > > being executed. This means _instance isn't being set, and so the line > > in question in acl.php fails: > > I'm pretty sure that a components startup method is called _after_ > beforeFilter, this is why the component is not available. > > you could try calling the startup method directly within beforeFilter > > hth > > jon > > -- > > jon bennett > w:http://www.jben.net/ > iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
