I am not a CakePhp expert, but if one or more controllers have this: function beforeRender() { parent::beforeRender(); } then it will be calling AppController::beforeRender (one more time). :)
On Oct 21, 4:22 pm, "euromark (munich)" <dereurom...@googlemail.com> wrote: > i used to have this problem as well > with almost all before/after functions > > dunno what causes this > > On 21 Okt., 15:10, Aivaras <faifas1...@gmail.com> wrote: > > > Hey, > > > we can't unless you provide us more details. > > > Aivaras > > > On Wed, Oct 21, 2009 at 16:09, Amit Rawat <rawatami...@gmail.com> wrote: > > > Hello friends, > > > > I am having a problem my before render function in app controller is > > > being > > > called twice. can anyone tell me why is this happening? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---