On Tue, Sep 29, 2009 at 5:07 PM, lorenx <[email protected]> wrote:
>
> sure but...
> is there a way to do it in the app/ area?

Do you mean in individual controllers? Yes, but you'd have to add it
to all of them, so there's not much point. Besides, if you then ran
into a "missing controller" error or similar, you'd run into a fatal
error because of the$javascript call in the layout.

Short answer: Save yourself some grief and load it into AppController.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to