Wednesday, September 30, 2009

Re: javascript link in default.ctp

On Wed, Sep 30, 2009 at 11:01 AM, lorenx <lorenx@gmail.com> wrote:
>
> do i have to create it or to copy cake/libs/controller/
> app_controller.php so that cakephp will read mine from now on?

Yeah, copy the one in cake/libs/controller to your app dir (not
app/controllers/). Then edit that with whatever code you want all
controllers to inherit. Same goes for AppModel, AppHelper.

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: