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)" <[email protected]>
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 <[email protected]> wrote:
>
> > Hey,
>
> > we can't unless you provide us more details.
>
> > Aivaras
>
> > On Wed, Oct 21, 2009 at 16:09, Amit Rawat <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---